The Big Programming Thread - Page 742
Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
ShoCkeyy
7815 Posts
| ||
![]()
TheEmulator
28078 Posts
| ||
ShoCkeyy
7815 Posts
I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going. | ||
Manit0u
Poland17186 Posts
On July 16 2016 15:11 ShoCkeyy wrote: Well then, I definitely will try and participate more often from the frontend angle - if any of you backend devs have any frontend questions please feel free to ask, and I will try to answer to the best of my abilities. I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going. Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week... Key feature should be ease of integration with some pure-backend mvc framework that's not JS. | ||
Shield
Bulgaria4824 Posts
On July 16 2016 13:42 Aerisky wrote: You can also just put him on your block/don't-show-to list or whatever it's called, so whenever you post something he won't be able to see it. Thanks, that's actually good advice. I can do this, while I can see if his behaviour changes. If not, the next step is to unfriend him. ![]() | ||
Djagulingu
Germany3605 Posts
On July 16 2016 19:22 Manit0u wrote: Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week... Key feature should be ease of integration with some pure-backend mvc framework that's not JS. Doesn't matter which one as long as they have ajax support, and that's what all the js frameworks that dare to call themselves a framework have. But based on what you're saying, I don't think you guys will like react so much as I don't think it will get along with the server side views from that pure-backend mvc framework you have. Angular 1 will be a better choice imo, you can just put the server side rendered stuff into an ng-view (or whatever the fuck that shit is) and you're all set. I'm no expert myself either though. If you're just going to integrate with the server over a rest api and not going to use server-side views and shit, just go with react. | ||
Deleted User 101379
4849 Posts
For our next website I want to use a modern JS framework and, since I'm familiar with AngularJS 1, I decided that AngularJS 2 might be a good idea. Pretty much all the tutorials and documentation on the website is TypeScript or "See TypeScript section" and my coworkers don't want to learn TypeScript and don't want to learn a toolchain that is more complex than copying a file into the repository. I'm considering just using AngularJS 1.5 since I already know how to use that, but I'd rather take something that's more advanced if I can find an introduction that is easy enough for them. | ||
Manit0u
Poland17186 Posts
| ||
ShoCkeyy
7815 Posts
On July 16 2016 19:22 Manit0u wrote: Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week... Key feature should be ease of integration with some pure-backend mvc framework that's not JS. Well that depends, what are you trying to achieve on the frontend? I don't want to say a "framework", and it actually might not suit you or your project. http://engineering.paiza.io/entry/2015/03/12/145216 They have a pretty good breakdown of JS frameworks - I personally like using Vue.js and Aurelia in my projects. I stopped using Angular after the announcement of 2 came out. Personally, what a waste of time learning A1 was with the complete rewrite, and the support for Angular 1 is steadily declining. http://ilikekillnerds.com/2015/05/the-death-of-angularjs/ http://aurelia.io - https://github.com/aurelia https://vuejs.org - https://github.com/vuejs/vue Also, if this will be client facing, be careful, A LOT of clients do not use node. | ||
-Zoda-
France3578 Posts
On July 16 2016 23:26 Morfildur wrote: Does anyone have a good introduction to AngularJS 2 that is entirely raw Javascript? For our next website I want to use a modern JS framework and, since I'm familiar with AngularJS 1, I decided that AngularJS 2 might be a good idea. Pretty much all the tutorials and documentation on the website is TypeScript or "See TypeScript section" and my coworkers don't want to learn TypeScript and don't want to learn a toolchain that is more complex than copying a file into the repository. I'm considering just using AngularJS 1.5 since I already know how to use that, but I'd rather take something that's more advanced if I can find an introduction that is easy enough for them. Typescript is not so different from js, besides the "class" stuff, you can just write classic js without worrying about the types, etc. Putting you files under a gulp watch or something that compiles on save makes it transparent. Otherwise I guess you have to use ES6 classes, which mean you'll need babel to compile stuff anyway. Angular 2 is very different from Angular1.5 though. They just kept the name for business purposes. Vue.js and Aurelia are indeed much closer alternatives if you want something recent (but Aurelia is still RC iirc). About a js framework for back end guys, I haven't tried it yet but Mithril is very lightweight and I've heard a lot of good about it, it may be a good choice for minimal efforts. If you're really sticking to server-side rendering, turbolinks is probably the best option though. | ||
graNite
Germany4434 Posts
what i found so far are only some wordpress plugins that allow me to put php code, but not the whole file with header, css and javascript. can i embed it somehow? | ||
![]()
tofucake
Hyrule18968 Posts
| ||
ShoCkeyy
7815 Posts
Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time. | ||
ShoCkeyy
7815 Posts
On July 17 2016 16:23 -Zoda- wrote: Typescript is not so different from js, besides the "class" stuff, you can just write classic js without worrying about the types, etc. Putting you files under a gulp watch or something that compiles on save makes it transparent. Otherwise I guess you have to use ES6 classes, which mean you'll need babel to compile stuff anyway. Angular 2 is very different from Angular1.5 though. They just kept the name for business purposes. Vue.js and Aurelia are indeed much closer alternatives if you want something recent (but Aurelia is still RC iirc). About a js framework for back end guys, I haven't tried it yet but Mithril is very lightweight and I've heard a lot of good about it, it may be a good choice for minimal efforts. If you're really sticking to server-side rendering, turbolinks is probably the best option though. Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u. As for turbolinks, depends how the Dom reloads. I'd say probably faster than a mvvm on the client side but definitely not worth it though in the long term. | ||
graNite
Germany4434 Posts
On July 18 2016 07:55 tofucake wrote: wordpress is bad and you really should avoid it if at all possible Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need: an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute. On July 18 2016 10:05 ShoCkeyy wrote: Lmao, tofu, but it's a great place to start messing with theming. I've met a lot of UX/UI that learn their frontend because of wordpress. While it's php structure is shit, it's still a decent place to start for frontend. Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time. what is this answer ![]() | ||
Manit0u
Poland17186 Posts
On July 18 2016 14:28 graNite wrote: Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need: an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute. what is this answer ![]() Well, WordPress is good for people with no programming capabilities or incentives. Good if you just want to create your own blog or something but not much past that. If you want to learn how to do things properly (and usually better than WP) just pick some microframework like Lumen or Silex and start there. They are really easy to begin with for simple pages and you actually have full control over what you're doing and don't have to resort to special versions of common tools just so they can work with WP. And better yet, you could go with something like Flask (but that's Python, not PHP) and have a full working site by creating like 5 files (that includes the views, css etc.). | ||
![]()
tofucake
Hyrule18968 Posts
its security is almost as good as a wet cardboard box the database design is just...I don't even have words it scales like a sloth it's also about as quick as a sloth | ||
ShoCkeyy
7815 Posts
On July 18 2016 14:28 graNite wrote: Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need: an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute. what is this answer ![]() Like I said: https://codex.wordpress.org/Theme_Development Look up how to theme wordpress, you'll be able to learn how to include your .php file... Instead of asking what kind of answer is this, ask for a better understanding. I've also have developed a lot of wordpress sites in the last eight years. It's not hard, and it's nice money when a small business is looking for one. Learning how to include your .php file in wordpress can also bring in a nice side revenue. On July 18 2016 21:31 tofucake wrote: the api is terribly designed (even worse than normal php) to the point where even doing something simple like theming a single comment requires a dozen different calls its security is almost as good as a wet cardboard box the database design is just...I don't even have words it scales like a sloth it's also about as quick as a sloth Eventually you learn how to get around annoying parts, and it's pretty simple to get something up and running pretty quickly. However, the security is shit but that's also due to a lot of shitty hosting companies with infected servers (hostgator). But I definitely don't want to be ruining this thread with wordpress talk anyways - I've actually learned some of my backend knowledge from this very thread, and certain people on this site. Just wanted to try and contribute using my best knowledge ![]() | ||
Manit0u
Poland17186 Posts
No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them ![]() I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me. I just hope I'm not alone in this one ![]() | ||
![]()
TheEmulator
28078 Posts
![]() | ||
| ||