Express Web Application Development

Express Web Application Development pdf epub mobi txt 電子書 下載2025

出版者:Packt Publishing
作者:Hage Yaapa
出品人:
頁數:236
译者:
出版時間:2013-6
價格:0
裝幀:平裝
isbn號碼:9781849696548
叢書系列:
圖書標籤:
  • Web開發
  • Node.js
  • Express
  • 計算機
  • Web
  • Express
  • Node
  • js
  • Web開發
  • JavaScript
  • 後端開發
  • RESTful API
  • MVC
  • Web應用
  • 服務器端
  • 編程
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. It provides a thin layer of features fundamental to any web application, without obscuring features that developers know and love in node.js.

"Express Web Application Development" is a comprehensive guide for those looking to learn how to use the Express web framework for web application development.

Starting with the initial setup of the Express web framework, "Express Web Application Development" helps you to understand the fundamentals of the framework. By the end of "Express Web Application Development", you will have acquired enough knowledge and skills to create production-ready Express apps. All of this is made possible by the incremental introduction of more advanced topics, starting from the very essentials.

On the way to mastering Express for application development, we teach you the more advanced topics such as routes, views, middleware, forms, sessions, cookies and various other aspects of configuring an Express application. Jade; the recommended HTML template engine, and Stylus; the CSS pre-processor for Express, are covered in detail.

Last, but definitely not least, Express Web Application Development also covers practices and setups that are required to make Express apps production-ready.

Approach

"Express Web Application Development" is a practical introduction to learning about Express. Each chapter introduces you to a different area of Express, using screenshots and examples to get you up and running as quickly as possible.

Who this book is for

If you are looking to use Express to build your next web application, "Express Web Application Development" will help you get started and take you right through to Express' advanced features. You will need to have an intermediate knowledge of JavaScript to get the most out of this book.

著者簡介

Hage Yaapa

Hage Yaapa is a contributing developer of Express.js and the head of Web and Node.js development at Sourcebits.

He joined one of the best medical schools in India, JIPMER, to become a doctor, but dropped out to pursue his burning passion for computers and the Internet. He has been creating websites and apps since 1999 using a very wide array of web technologies. He is a self-taught programmer and everything he knows about technology, he learned on his own from the Internet and books.

Yaapa blogs about Node.js, Express, and other web technologies on his website www.hacksparrow.com, as Captain Hack Sparrow.

圖書目錄

Table of Contents
Preface
Chapter 1: What is Express?
Chapter 2: Your First Express App
Chapter 3: Understanding Express Routes
Chapter 4: Response From the Server
Chapter 5: The Jade Templating Language
Chapter 6: The Stylus CSS Preprocessor
Chapter 7: Forms, Cookies, and Sessions
Chapter 8: Express in Production
Index
Preface
Up
Chapter 1: What is Express?
What is Express?
The story of Express
Installing Express
The stuff that makes up Express
The application object
The request object
The response object
Concepts used in Express
Asynchronous JavaScript
Node modules
Express apps are Node modules
Middlewares
Request flow
Node HTTP/HTTPS API
Summary
Up
Chapter 2: Your First Express App
Your first Express app
The Express manifest file
A very basic Express app
Starting and stopping the app
Analyzing the output
Express app with views
A public directory for the app
Auto-generating an Express app
Empowering Express with middlewares
Empowering Express with Node modules
Logging requests to the App
Using a configuration file
Setting and getting application options
Express in different environments
Summary
Up
Chapter 3: Understanding Express Routes
What are Routes?
A quick introduction to HTTP verbs
Revisiting the router middleware
Defining routes for the app
Route identifiers
Order of route precedence
How to handle routes
How to organize routes
Using Node modules
Namespaced routing
Resourceful routing
Making a choice
Summary
Up
Chapter 4: Response From the Server
A primer on HTTP response
HTTP status codes
1xx
2xx
3xx
4xx
5xx
HTTP response headers
Media types
HTTP response in Express
Setting the HTTP status code
Setting HTTP headers
Sending data
Plain text
HTML
JSON
JSONP
Serving static files
Serving files programmatically
Serving error pages
Content negotiation
Redirecting a request
Summary
Up
Chapter 5: The Jade Templating Language
What is Jade?
Generating HTML tags
Hierarchy of HTML elements
Assigning IDs
Assigning classes
Specifying HTML attributes
Creating text content
Filters
Declaring the document's Doctype
Programmability in Jade
Variables
Interpolation
Control structures
JavaScript constructs
Jade constructs
Modularization
Includes
Template inheritance
Mixins
Escaping
Comments
Summary
Up
Chapter 6: The Stylus CSS Preprocessor
Introduction
Enabling Stylus in Express
Selectors
Selector blocks
Hierarchy
Rules
@import
@media
@font-face
@keyframes
@extend
@css
Programmability
Variables
Literals
Lists
Tuples
Mixins
Functions
Comments
Operators
Conditionals
if, else if, and else
unless
Built-in functions
Summary
Up
Chapter 7: Forms, Cookies, and Sessions
Using forms to submit data
Handling GET submissions
Reading form data
Reading URL query parameters
Handling multiple options
Handling POST submissions
Enabling POST data parsing
Reading form data
Handling text-only forms
Handling file uploads
More about file uploads
Submission via simulated methods
Data in named segments
Reading data
Using cookies to store data
Creating cookies
Reading cookies
Updating cookies
Session cookies
Signed cookies
Deleting cookies
Using sessions to store data
Cookie-based sessions
Session store-based sessions
MemoryStore
RedisStore
MongoStore
Session variables
Setting session variables
Reading session variables
Updating session variables
Deleting session variables
Deleting a session
Deleting a cookie-based session
Deleting a session store-based session
Summary
Up
Chapter 8: Express in Production
What the is production environment?
What changes in production mode?
Simulating production environment
Benchmarking the app
Creating an app cluster
Handling critical events
Closing the server
Handling uncaught errors
Using try-catch to catch uncaught errors
Using domains to handle uncaught errors
What to do in case of uncaught errors – to terminate the process or not to terminate?
Handling process termination
Ensuring uptime
Forever
Upstart
Using a reverse proxy
The trust proxy option
Summary
Up
Index
· · · · · · (收起)

讀後感

評分

評分

評分

評分

評分

用戶評價

评分

入門的書,如果你不想讀文檔,那麼這本書可以作為入門的書來讀。不過讀一下第1、2、3、4、7章就夠瞭。

评分

初學者必讀,Node.js網站開發初學者必讀手冊,看瞭很久瞭,豆瓣更新太慢

评分

入門的書,如果你不想讀文檔,那麼這本書可以作為入門的書來讀。不過讀一下第1、2、3、4、7章就夠瞭。

评分

初學者必讀,Node.js網站開發初學者必讀手冊,看瞭很久瞭,豆瓣更新太慢

评分

入門的書,如果你不想讀文檔,那麼這本書可以作為入門的書來讀。不過讀一下第1、2、3、4、7章就夠瞭。

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有