#nodejs framework to watch http://rhapsodyjs.github.io/ , (will someone spell it for me?)
Seeing and enjoying the battle between rails and node.js in different freelanceing sites.
Today, frameworks like Express.js and Hapi.js are gaining prominence for designing better websites and mobile applications. Hence, it has become important to embrace the latest innovations that are being brought into the tech world by these Node.js frameworks. With this intention in mind, I decided to compile a list of popular Node.js frameworks and their useful applications. I am presenting a list of 10 Best Node.js Frameworks, which are currently redefining the application development field.
read the full story: http://www.devsaran.com/blog/10-best-nodejs-frameworks-developers
Nodize is an adaption of Ionize, a PHP CMS, to the Node.js platform.
- Multilingual content management
– Live update of articles (using Socket.io & JQuery)
- Easy backoffice interface that your customers will love
- WYSIWYG editor (TinyMCE)
- Node.js stability & low memory footprint
- Page caching (when Redis is installed)
- Easy integration of articles in your HTML design with helpers
- Cloud hosting with AppFog
- Pages & articles sorting with drag & drop
- A good looking media manager, with drag & drop uploads
- SEO friendly URLs
My note: Although i did not get much success on this CMS, but you can try out, let me know if you do something good (i am not considering best yet) using this CMS.
in layout.jade view file
now, in index.jade view file,
extends layout block content p page content goes here
careful on indenting. jade template reacts the most with indentation.
The directory structure of a typical express application is,
- Routes:- express is best known for quick routing, the routes folders store the routing information.
- Views:- views folder stores view files. You may find jades, jhtml or ejs files.
Also node_module folder has the modules for the application, and app.js is the main entry file for your application.
Hello everybody and good evening. Now today I am going to discuss (form a practical prospective) about a node.js framework, which is called express js. You can find the framework at http://expressjs.com/. So let’s install the framework.
Assume that you have installed node.js already. Node.js has a command line tool called npm, which installs node.js packages. We will use npm to install express framework. (I will discuss about node in a latter post. I hope)
In the command prompt, type:
npm install -g express
This will install express framework globally in your PC. Now you can use express per project basis, but in this post I will focus on express command line tool. Now type in command prompt,
you will see the uses and option of express in command prompt.
Now we will create an express app. We will use jade template engine which is the default option for creating an app with express command tool. Just go to a suitable place in your PC, better with command prompt, if not then open command prompt at that folder and type in command prompt,
now, install dependencies (as instructed which you executes the last command)
cd myApp npm install
npm install command will install the dependencies at node_modules folder. You can check that. Also, you can see package.json file. That file stores the dependency package for this project.
ok, now type,
now at the command prompt you will see express server is running. Open browser, type, localhost:3000 (you will see in command prompt, if you are using windows 7, you can use 127.0.0.1:3000, I have not tested in windows 8). You will see the output in browser.
“The hard part about scraping data from websites is coming up with ways to quickly and reliably pick out pieces from the document object model (DOM). These days, I spend a lot of time using the jQuery selector syntax to develop my site which means that ideally I’d find a solution that can download a webpage and then provide me with jQuery-like functions and selectors to pick out pieces from the DOM. For this purpose, node.io uses a project called node-soupselect by default, but I found the selector syntax to be lacking. Thus, I layered another project called cheerio on top. Whatever you do, don’t use jsdom as it is too slow and very strict in its processing of html.“