In this case using NodeJS and ReactJS at the same project. The React has server example for NodeJS, Ruby, Python, PHP. We can clone de repository and after install all dependencies. For that first : git clone https://github.com/reactjs/react–tutorial.git comments npm install Run the App : npm start The file server.js is used express module in order to… Seguir leyendo ReactJS & NodeJS Comments App.
When you create a class with React, using the createClass method. We can use some properties and methods in order to manage behavior of our class. for this let’s use points : propTypes and getDefaultProps. propTypes : We can set the properties of the class. getDefaultProps: We can set default values. So we can set the components… Seguir leyendo React PropTypes
Todo App. A simple way to work with de dom. We will create a simple form with one text field and a submit button, using the method React.createClass, so let’s do it : We have two classes, one for create every task and other for refresh every task on the browser. We can show items… Seguir leyendo React JS TODO LIST
BackboneJS has a hard dependency on Underscore.js and a soft dependency on Jquery. So, the following components are required to start working with BackboneJS: Backbone.js Underscore.js (>=1.4.3) Jquery (>=1.7.0) So, after having all these prerequisites we will test if it has been set up properly by writing our first BackboneJSDemo.html file such as below: <html> <head> <meta charset=”utf-8″>… Seguir leyendo Setting up Working Environment for Backbone.js