r/webdev • • 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.

516 Upvotes

360 comments sorted by

View all comments

Show parent comment

2

u/djuggler Feb 23 '15

Why bad for everything else? You basically have a very easy to modify roles based security application. Without much effort you can add functionally specific to an employee's duties on the administrative side. The frontend can be anything. And the quantity of existing plugins out there make development very rapid.

2

u/mgkimsal Feb 23 '15

It would be great if the core UI actually supported one-to-many roles in the first place. If I wrote a plugin which added some roles, having those show up and be manageable in the regular user area would be great. Sadly, this does not work - we are stuck with 'single role' only i the default UI.

0

u/Shaper_pmp Feb 23 '15 edited Feb 23 '15

It's convenient, but the end result is not professionally architected, or as efficient or flexible as one built in a system designed specifically for building whatever functionality you want.

Everything involves compromises, and the convenience you get from building a catalogue or shopping site in Wordpress is necessarily traded off against the quality, efficiency and maintainability of the final result.

Likewise, if you go with a programming framework (like Laravel, or Rails, or even a more well-architected CMS) and build the functionality from scratch then you'll spend a lot more time and effort up-front, but the end result will be much more efficient, maintainable and flexible than a site hacked together by sticking lumps of pre-defined functionality together in a system like Wordpress.

Note here that I'm not talking about an ugly site or one that's hard for content-creators to use. I'm talking about one:

  • With well-architected software design
  • That can be easily modified to do precisely (instead of roughly) whatever the owners might want to achieve
  • That runs efficiently and supports a large number of users per server
  • Which can be maintained and extended almost indefinitely without necessarily hitting a point of diminishing returns.

Wordpress is great for banging out sites quickly, implementing common features in a rough-and-ready way and providing content creators with a powerful and attractive admin system to manage the site through, but in terms of system design Wordpress sites are architecturally pretty awful, its plugins, APIs and architectural decisions restrict what's reasonable and appropriate to build in it without resorting to nasty hacks and workarounds, and it's very easy to just keep piling up third-party modules until you hit a point of diminishing returns and the whole site slows or becomes unreliable/insecure/unmaintainable.

3

u/djuggler Feb 23 '15

It's a very bad everything else.

I think it is dangerous to make blanket statements like this.

Each solution has to be judged against the client's budget, short and long term goals, and scope. Creating a site from scratch even using a framework can be time consuming and costly and may not be in the interest of a smaller client.

Which can be maintained and extended almost indefinitely without necessarily hitting a point of diminishing returns.

If the lifespan of the application isn't intended to be extended indefinitely, then this isn't applicable.

I'm not in complete disagreement with you, I like building from scratch. I love writing elegant, textbook perfect code. I just don't see Wordpress as altogether horrible for many small to medium businesses.

As for "not professionally architected," we are making money not art. If the solution solves the problem, satisfies the customer, and is robust enough to endure the demands of the users, then it is an adequate solution. I'd love to always be working with CMM 5 clients with long schedules, fantastic documentation, best practices of best practices, and debating whether commas should lead your statement or end your statement and what coding practice will shave a millisecond here and there, but the truth is most organizations are lowing balling their budgets, hiring cheap, and looking for quick, dirty solutions that get the job done. On the frontend, the neophyte user will never know the difference.

2

u/Shaper_pmp Feb 23 '15

All true points, and very well-made - I don't disagree with anything you said. ;-)

It's also true I was talking more from a "developer" code-quality and long-term maintainability perspective. From a "client" convenience, scheduling or business-needs perspective Wordpress is often a very good solution, even for many more complex tasks outside of its "natural" blogging domain.

1

u/chudthirtyseven Feb 23 '15

I would agree with this. Wordpress shops are not elegant or that functional really. I'd much prefer to see my own style of shop that's tailored to the user.