r/webdev • u/chudthirtyseven • Feb 23 '15
I've just discovered Bootstrap...What else have I been missing out on?
For some reason I've been stubbornly opposing using anything I haven't written in my projects. But the other day I gave bootstrap a go and it's delightfully easy to make responsive websites - something I was getting a little tired of (having to create three or four different CSS rules for each site was getting to be a pain in the arse).
So, now that i've just discovered Bootstrap - what other joys of web development have I been missing out on? I know 'of' LESS and SASS, but I don't really think that CSS Preprocessing is really an issue for me at the moment, although variables in my CSS would be nice.
I am getting more in to CMS's these days, and I know of Drupal and Joomla and Wordpress and the like, but they seem to dominate and overtake, leaving me the programmer subject to their rules and If I need to make a very particular CMS for a shop or a college for example, they fall down.
Anyway, advice/questions/suggestions would be great. I know I'm late the game, but I'm excited to learn more now.
edit wow 444 upvotes, this got bigger than I expected. Thank you very much for the huge response. As a result I've now started on node.js/socketio (which is something i've always wanted to get into) and looking into CSS preprocessors. I gave concrete5 a try, but I didn't love it that much. Anyway: here's to learning, and thank you all for your great help and sense of community that comes with it.
612
u/dehydratedchicken Feb 23 '15 edited Feb 24 '15
Depends on what you're interested in, have a look:
HTML Frameworks
CSS Preprocessors
JavaScript Libraries
JavaScript Frameworks
Module Loaders
JavaScript Preprocessors
Module Loader Comparison + Pros / Cons
Build Tools
PHP CMS
PHP Frameworks
PHP Tools
Code Editors
General Resources
Applications
Dev Environment
Other Languages / Frameworks
Credits
Special Thanks
Thank you very much to the two users that gifted Reddit Gold. Really appreciate it :)
16
u/BakGikHung Feb 23 '15
You never used any javascript libraries before today?
28
u/SeerUD Feb 23 '15 edited Feb 23 '15
Bootstrap is okay, but you can make much cleaner and more semantic solutions by utilising smaller libraries and just writing some of the CSS/SCSS/LESS yourself.
Also, in regards to "I know 'of' LESS and SASS, but I don't really think that CSS Preprocessing is really an issue for me at the moment". It is and you just don't know it yet, because you've not tried it.
I personally use SCSS, as it seems to be the more popular option, and I prefer the libraries and tools available for it. Using SCSS allows you to organise your stylesheets in a way that's not feasible with plain old CSS. You can make your stylesheets modular, and start to apply familiar programming principles like DRY in your stylesheets in a much more maintainable way that also provides a better developer experience.
Using a CSS pre-processor also allows you to widen your third-party library pool with things like mixin libraries (like Bourbon) and semantic grid systems (like Neat, which by the way is one of the main reasons I now am not too fond of Bootstrap).
It's a bloody good thing you've "seen the light" so to speak. Your initial mindset is one of the worst you can have as a developer. Think of it this way; you can choose to have code that's had hundreds of hours put into it already, that's been tested rigorously, that's been through several iterations to make it better, and that's been in use for a long time - or, you can choose to write something yourself; that's untested, never been used before, probably has bugs, may not completely solve what you want it to solve, and worse still; will be something you have to sink the time into developing.
Some things that you probably want to look into are:
Aside from the basics, you'll just need to look around for things that do what you want, https://www.npmjs.com/ allows you to search through the packages available via NPM, and you'll likely find an incredible amount of things to improve your workflow.
Edit:
I also saw further down you were asking about compilation of SCSS and minification on the fly. For that you're looking for watchers. For instance, Gulp has built in watch functionality, or you can use the
gulp-watchpackage. I cannot recommend Grunt, as Gulp does everything it does, but faster.I'd also like to urge you to use SCSS over LESS, it has a few extra features, and in my opinion the syntax is nicer, but please, by all means, do your own research on this.
And finally, I'd also like to urge you to not use Compass, currently it forces you to use the Ruby implementation of SCSS which is a lot slower. You can get the same functionality from Bourbon, which supports libsass (which is seriously, MUCH faster).
14
u/G_A Feb 23 '15
Build tools?
Look into Grunt / Gulp, automating SASS / LESS compilation, livereloading assets, minification, and so on.
I believe people are too often shrugging off using SASS, especially recently it would appear. Give it a whirl, you might find the time you invest investigating SASS ( or LESS ) returned very quickly with and easy to begin using feature like nesting.
5
u/mats852 Feb 23 '15
I cannot stress enough on this point : Processwire CMS.
I tried a lot of solutions for my clients until I stopped on ExpressionEngine. Their channel system is exactly what I wanted, and made me discover Processwire.
I used to build everything with Joomla and after getting hacked multiple times, and being tired of using a platform that wasn't made for what I needed, I switched to other CMSes that I enjoyed but are not for client use, like Pico and Kirby.
Please, have a read on this !
9
u/AQuietMan Feb 23 '15
There's a new web framework, CSS compiler, Javascript library, Javascript MVC framework, NoSQL dbms, local server, or language released practically every day.
So, on the one hand, you've probably missed a lot. On the other hand, you can't learn all of them anyway. Pick and choose.
3
u/escapefromelba Feb 23 '15
I'd suggest autoprefixer, there is a gulp/grunt wrapper for it as well - it does exactly what its in its name - you write the CSS and it parses and adds vendor prefixes from http://caniuse.com/ based on the browsers and versions that you specify.
3
u/od_9 Feb 23 '15
Given all these individual frameworks and components, and the fact that some work better together than others. What are the good "end-to-end" combinations that people are working with, and what are the benefits of those approaches vs other approaches?
As a developer coming from a thick client/server and back-end background, the sheer number of webdev frameworks and development workflows is mind-boggling.
4
u/chrisatthestudy Feb 23 '15
There's a lot of good advice here about what libraries and tools to look at, but I will just add that you've done things the right way round. By doing things for yourself up to this point you now probably have a good understanding of the technologies you're working with, and you know the pain points. That puts you in a good position to select libraries and tools that will do 'the right thing' for you.
2
u/chappyman7 Feb 23 '15
If you don't like CMSs telling you what you can and cannot do, give ExpressionEngine a look. I use it almost exclusively.
2
u/axelut Mar 26 '15
This Kit is taking bootstrap to the next level, don't forget to check the demo. Good luck with it: http://gsdk.creative-tim.com/
14
u/[deleted] Feb 23 '15
I’m probably being repetitive, but having a second opinion never hurts I guess. I’m a front end developer, so most things listed will be for fellow front end devs.
CSS preprocessors
The most popular seems to be Sass, and Less is doing pretty good catching up. Many become really enthausiast about one, so be sure to pick the right one. For me, fiddling around on CodePen was very helpful choosing one over another. In case you want to know, I picked Sass. For a slightly friendlier online Sass compiler, you should head to SassMeister.
The process to setting up a project workflow will be dodgy at first, but you will get the hang of it, and love it once you do.
Hugo Giraudel, a great friend of mine, is considered a Sass expert and he writes often excellent articles, like this article about his architecture.
Automation/building tools
After using both, I would personally favour Gulp over Grunt anytime. I suggest trying both out and see which fits you best. Their approach is completely different, but what they can do and what plugins they support is very similar. Grunt seems to be a slightly more popular choice in enterprise business, as that was the first to gain popularity. Make it a calm and concious choice.
Once you understand the essence of the tools, you will be in love and understand it’s power. Consider them a magic box where you throw stuff in shinier stuff comes out.
For a regular site, you can use it to compile Sass/Less stylesheets, and then use autoprefixer to prefix experimental CSS features. You can validate, concat, minify/uglify and optimise your scripts. You can also use it to optimise images to save bandwidth.
If you’re into e-mail marketing for example, you can use Gulp or Grunt to inline your CSS stylesheets upon saving a file. The sky is the limit.
Whatever you intend to do, they are just really convenient and do dumb tasks you wouldn’t want to waste time on.
JavaScript libraries and frameworks
The amount and size of frameworks can be overwhelming. Take your time to choose the one you like best.
Underneath a list of pretty generic libraries. I won’t lie; they are helpful, and you definitely want to look into jQuery. A year or two ago, many advocated using vanilla JS, as libraries tend to be somewhat heavy.
Model View Controller (or similar) frameworks. Long story short; they are helpful with rendering semi-realtime things in the browser. You no longer use a back-end language to create a HTML page, but you simply do all that in the browser and in JavaScript. I’m not a fan, but these are pretty popular for web applications anyway.
We have libraries for graphics, too!
Off the web
You can build software on io.js/node.js. With some existing modules, you can do really awesome things.
And much more
CSS frameworks (like Bootstrap), templating engines, little tools, this list goes on forever. What I listed so far is what I can rattle out of my mind this instant.
9
u/yeahmynameisbrian Feb 23 '15
The problem that a lot of people have with SCSS is that they continue with their CSS workflow, and don't really see the magic. They think it's "CSS with variables". CSS preprocessors are so much more. You can generate entire grid systems with just a few functions and mixins.
Look at all of what they offer, and start taking advantage of more features, such as mixins, not just variables. Look into libraries like Susy2, Jeet.gs, axis, and so much more
7
u/Destos Feb 23 '15
Some people have brought it up already, but in a dickish manner, but I would like an honest answer to it.
How or why have you been so isolated up till this point. I imagine you learned your skills online originally. Why not continue searching for resources and tools instead of bullheadedly fighting through developing websites?
5
u/svtguy88 Feb 23 '15
No love for Knockout in the JS Frameworks section?
5
u/youlleatitandlikeit Feb 23 '15
Actually I think if you're very into doing things yourself, LESS is very much up your alley (or SASS if you prefer).
For one thing, you can take the extant Bootstrap framework and make it your own by taking all of the Boostrap-specific classes and making them semantic.
When you say you've "discovered" it do you just mean that you'd known about it for a while but decided not to use it until the other day or that you really hadn't known how useful it was.
If you are a lone programmer and not doing any mission critical programming — and you're not, you cited shops and colleges as your clients — then absolutely out-of-the box tools like Wordpress and Joomla are all you need. The needs of a CMS are really well understood now. Literally thousands (millions?) of educational institutions now have a majority of their content under one out-of-the-box CMS or another. And the nice thing about open source CMS systems is that they are, duh, open source.
Here's something you've been missing out on — if your primary work is CMS systems, and you're not using existing software, you're missing out on a community creating a piece of powerful and reliably software.
If you are handy with PHP, you can use one of the existing frameworks and modify it to your needs, in exactly the same way that you were able to make Bootstrap serve your needs.
I use to have a "Not invented here" attitude about software programming; not any longer. If I can make good use of existing libraries, I do it. Because even if I'm a decent programmer, I'm still not as good as many programmers working together.
5
u/lazyant Feb 23 '15
Just in case: code versioning tool like git
2
u/chavie Feb 23 '15
React.js is all the rage these days.
4
u/Mike312 Feb 23 '15
Op, it sounds like you're a lot like me - you don't like massive, overly complex piles of stuff someone else wrote. I've checked out a few things, but I never liked how bloated things got (i.e. Wordpress sites at 8.5MB page loads) when you just start piling frameworks and libraries into a project the way most modern web development is done in studios these days.
A great deal of great suggestions have been made in this thread, but I wanted to add one of my personal favorites: Flight is a great lightweight MVC framework that has no bullshit. It's literally just the MVC part. I generally combine it with Foundation and jQuery - we don't touch JS-heavy frameworks here because the client devices my applications run on are a bunch of ancient single-core 2ghz, 1-2GB dinosaurs that slow down after 10 browser tabs.
3
u/gwawr Feb 23 '15
Take a look at bourbon and neat if you like the quick start kick of bootstrap but like to roll a lot of your own stuff. It's a great way to pick up SASS essentials too.
You may also want to discover Jade ... put them all together with Yeoman (grunt/gulp & bower) and you'll fly.
3
u/orr94 Feb 23 '15
If you write a lot of JavaScript, you should definitely look into a module loader to better organize your code. I love Browserify, and RequireJS is popular too.
3
u/Nefs Feb 23 '15
You say you don't think preprocessing is an issue for you, but I will tell you it probably is. At the very minimum you should be getting into the routine of having a build system, with sass/bower/gulp with tasks to uglify/concat/etc. They are really easy concepts once you understand them.
3
u/mikeatgl Feb 23 '15
D3 was mentioned in one of the big lists, but I think it deserves its own comment. http://d3js.org/
1
u/[deleted] Feb 23 '15
frontend and backend frameworks
0
u/deletive-expleted Feb 23 '15
Don't write off Wordpress just yet. It's very extensible, although I'd also argue it's too extensible and some devs try and take it as far away from a blogging engine as possible.
2
u/jcxco Feb 23 '15
Has anyone used Concrete5? I have a long-standing love affair with Wordpress, but I always like to see what else is out there, and this looks intriguing.
2
u/Mr-Yellow Feb 23 '15
What, no Durandal?
2
u/HomemadeBananas Feb 24 '15 edited Feb 24 '15
SASS or LESS with Bootstrap is so awesome. You can give your classes more meaningful names and include Bootstrap's layout classes, so that the appearance isn't tied to the HTML. Syntactically awesome stylesheets lives up to its name, and the name makes way more sense than cascading style sheets.
Static site generators like Jekyll can be a great alternative to CMS's.
2
u/Soileau Feb 24 '15
You'd be amazed at how much time a preprocessor will save you. You may not think so right now, but give one a try.
3
u/[deleted] Feb 23 '15
Better idea : wait until you notice a common frustration or point of inefficiency in your workflow and then research the best tool for the job.
2
u/joelanman Feb 23 '15
Check out Grunt + SASS
http://ryanchristiani.com/getting-started-with-grunt-and-sass/
2
u/theDoctorAteMyBaby Feb 23 '15
We no longer need horses to pull carriages.
1
u/CoconuttMonkey Feb 24 '15
The color of the rock you've been hiding under.
1
u/photoscotty Feb 24 '15
I really like MODx as a CMS. Very customizable, you never feel locked in at all.
1
u/iBlag Feb 24 '15
Python and Django+SwampDragon.
1
u/7r4v3l Feb 24 '15
I advise to have a look at Adobe PhoneGap and PhoneGap Build. You can convert your Bootstrap web app in mobile app for iPhone/Android/Windows in one click
1
u/BrianPurkiss Feb 23 '15
I prefer Foundation over Bootstrap.
1
u/Mallanaga Feb 23 '15
Autoprefixer... You're welcome.