camposer-alt.blogspot.com
Alt + Camposer Techie Blog: Code documentation - express-examples/sqlite
http://camposer-alt.blogspot.com/2012/09/code-documentation-express.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Monday, September 3, 2012. Code documentation - express-examples/sqlite. State of the art. Code documentation appears to be not so clear into JS world. I've been reading several pages and blogs about this, and finally I got 2 main solutions, jsdoc-toolkit. At the beginning I leaned for ScriptDoc, because people say is very similar to Javadoc and some days ago I developed a mobile app using Titanium. Java -...
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: Routing - express-examples/sqlite
http://camposer-alt.blogspot.com/2012/08/routing-express-examples-sqlite.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Sunday, August 26, 2012. When you install express it adds routes inside app.js, I'm not really comfortable with that because this file for me must be only for app configuration, and things like routes, which changes a lot, should be configured in other place. My changes were:. Remove all routes mappings from app.js and add one call for global routes:. Leave calls for mappings inside routes/index.js. In thi...
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: DAO - express-examples/sqlite
http://camposer-alt.blogspot.com/2012/08/dao-express-examplessqlite.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Sunday, August 26, 2012. According to Wikipedia, a DAO. Is an object that provides an abstract interface to some type of database or persistence mechanism, providing some specific operations without exposing details of the database. It provides a mapping from application calls to the persistence layer". Following, an implementation example of this pattern ( lib/dao/user.js. Validations (extra app forms) an...
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: Init script - express-example/sqlite
http://camposer-alt.blogspot.com/2012/08/init-script-express-examplesqlite.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Tuesday, August 28, 2012. Init script - express-example/sqlite. I've been reading in the Express Forum. About deploying Node.js applications and found some interesting points of view about that. My proposal is to deploy using Capistrano. I hope to comment about it in this space soon. Init scripts, and based on my previous work, I propose the following script ( init.d/sqlite. Now for starting and stopping:.
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: August 2012
http://camposer-alt.blogspot.com/2012_08_01_archive.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Tuesday, August 28, 2012. I've developed a very simple RESTful app, only considering CRUD operations over an user entity. I followed some good recommendations mentioned in this article. In general, the API is:. GetUsers. Retrieves all users (. SELECT * FROM user. Curl -X GET http:/ localhost:3000/rest/users. GetUsersById. Retrieves an user by its id (. SELECT * FROM user WHERE id =? UPDATE user SET name =?
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: SQLite - express-examples/sqlite
http://camposer-alt.blogspot.com/2012/08/sqlite-express-examples-sqlite.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Sunday, August 26, 2012. SQLite3 is very simple, and perfect for examples "plug and play". For installing it:. Sudo aptitude install sqlite3. In my case I just entered:. Once inside, you can enter SQL commands. Following sqlite example table:. Sqlite CREATE TABLE user (name VARCHAR(50) ;. In SQLite exists a default auto-increment field named `rowid`, that means you can make queries like:. Is a better option.
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: About
http://camposer-alt.blogspot.com/p/about.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. I usually write my technical findings and thoughts in 2 blogs, camposer-techie.blogspot.com. This blogs are written in spanish and its main purpose is to share knowledge, contributing for mitigate the digital divide. Through the sharing of quality contents in spanish. Recently I've created a project in my space at github. In the IT world. Subscribe to: Posts (Atom). Software Engineer and Entrepreneur.
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: express-examples
http://camposer-alt.blogspot.com/p/express-examples.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. How to run the project. How I made it. Routing and some comments about MVC. Presentation. "Code behind like" style. Subscribe to: Posts (Atom). Software Engineer and Entrepreneur. Cosas de la tecnología. Why joining toptal would be great. There was an error in this gadget. Code documentation - express-examples/sqlite. Rodolfo Campos. Awesome Inc. template. Powered by Blogger.
camposer-alt.blogspot.com
Alt + Camposer Techie Blog: September 2012
http://camposer-alt.blogspot.com/2012_09_01_archive.html
Alt Camposer Techie Blog. Technical things, projects, thoughts. the way I see software engineering. Monday, September 3, 2012. Code documentation - express-examples/sqlite. State of the art. Code documentation appears to be not so clear into JS world. I've been reading several pages and blogs about this, and finally I got 2 main solutions, jsdoc-toolkit. At the beginning I leaned for ScriptDoc, because people say is very similar to Javadoc and some days ago I developed a mobile app using Titanium. Java -...