Jump to Navigation

Me on Twitter

  • #Scala sometimes u just want 2 fix ur code a bit... and u just spend the rest of the evening figuring out how to get back the working code ! 9 years 29 weeks ago
  • RT @Etalab: Encore 1 MOIS pour concourir a #Dataconnexions 2. RDV sur http://t.co/bX6ino3d pour s' inscrire et faire gagner vos applic ... 9 years 30 weeks ago
  • RT @vogella: RT @w1bble The Lance Armstrong bug - when the code never fails a test, but evidence shows it's not behaving as it should. 9 years 30 weeks ago
  • @Viadeo : Un site web à la française http://t.co/AbcWAaQi 9 years 32 weeks ago
  • @agoncal spéciale dédicace à @IBM @IBM_AppServer #websphere 9 years 32 weeks ago
  • @rovio @badpiggies is a game that calls for sharing fun moments! It deserves in-game screenshot & video capture facilities... 9 years 32 weeks ago
  • Like crashing or not crashing... 9 years 32 weeks ago
  • SimpleDateFormat 'Z' pattern (RFC822) does not match XSD timezone (ISO8601). There's only a ':' differing and that makes a BIG difference ! 9 years 32 weeks ago
  • RT @vogella: I donate money to Ubuntu for...being amazing http://t.co/ESHrRbbh 9 years 33 weeks ago
  • @louistouzet Android : optimisation des performances 1 - Fluidité de l'interface via @objetdirect http://t.co/ZDkvA867 9 years 33 weeks ago

Scaffolding the Web 2.0

h5bpinitializryeoman

 

Starting up with Web 2.0 development ?

Let's choose between three essentials tools to begin a new project !

 

HTML5 Boilerplate

HTML5 Boilerplate (a.k.a. H5BP) is the original scaffolding tool by Paul Irish & Co (will have to search for the exact history...).

It allows you to build a clean website structure with standard features based on best practices like :

  • responsive design-ready CSS
  • standard javascript libraries : Modernizr, Respond.js, ...
  • 404 page
  • Google Analytics
  • favicons for apple
  • many more...

It does not support CSS preprocessing (SASS, ...) and requires you some effort to upgrade to the latest version later (by separating your work from the original files that will be upgraded)...

It's good for small sites.

Find it at http://html5boilerplate.com

H5BP logo (star)

 

Initializr

While H5BP is a static project template to download, Initializr allows you to customize it by selecting the features you want on your site and then downloading the generated files.

It has 3 ready-to-use configurations :

  • Classic H5BP
  • Responsive (using a custom framework by @verekia)
  • (Twitter) Bootstrap

The customization is made online and on-the-fly : you can see the generated files directly online while filtering the features ("What's inside" button).
It still does not support CSS preprocessing.

Since it's simply a "configurator" over H5BP I find it more convenient than H5BP alone for small sites.

Find it at http://www.initializr.com

Initializr logo


Yeoman

To solve the "static template" issue, H5BP first evolved into "generator-mobile-boilerplate", then into several specialized tools now known as "Yeoman".

Those tools bring the features you usually want on any project :

  • yo scaffolds your project (like a Maven archetype)
  • Grunt and Gulp build and execute it (like Maven / Ant)
  • Bower and npm handle dependencies (like Maven / Ivy)

In short, Yeoman is the standard, complete tool suite for Web 2.0 developers like Maven is for Java developers.

Find it at http://yeoman.io

Yeoman logo

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>. The supported tag styles are: <foo>, [foo].
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.