Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Web Development

You're reading from   Practical Web Development Learn CSS, JavaScript, PHP, and more with this vital guide to modern web development

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781782175919
Length 276 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Paul Wellens Paul Wellens
Author Profile Icon Paul Wellens
Paul Wellens
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. The World Wide Web FREE CHAPTER 2. HTML 3. CSS 4. JavaScript 5. PHP 6. PHP and MySQL 7. jQuery 8. Ajax 9. The History API – Not Forgetting Where We Are 10. XML and JSON 11. MongoDB 12. Mobile First, Responsive Design with Progressive Enhancement 13. Foundation – A Responsive CSS/JavaScript Framework 14. Node.js A. Bootstrap – An Alternative to Foundation Index

Summary

In this final chapter, we gave an overview of node.js and Express. Thanks to node.js, you can use JavaScript across the board, on both the client and server side. You can even write your own web server with just a few lines of code. As you only include the things you really need, you can obtain far better performance with this avant-garde way of doing web development.

As you combine the web server and the server application in your code, there may be more code to write than you wish for. That is where Express comes to the rescue: a lightweight framework that results in more compact, yet robust code.

To conclude, we touched on the tip of the templating iceberg by introducing handlebars.js. This is a better way to separate layout from dynamic content and have the framework combine the two, so the browser can render it as a view. For that purpose, we concluded the chapter by writing a layout in HTML.

This reminds me of Anna Russell's rendition of Wagner's Der Ring des Nibelungen...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime