…using React. Throughout the course of this tutorial series, you'll be focusing on how to use React for developing the application user interface. You'll be using Node.js for the server side of the application.In this tutorial, you'll see how to implement the user interface and back end for user registration…
…using MongoDB as the back end. Follow the instructions in the MongoDB official documentation to install MongoDB on Ubuntu. Once you have MongoDB installed, you'll need a connector to connect MongoDB and Node.js. Install the MongoDB Node.js driver using the Node Package Manager (or npm):npm install mongodbOnce you have the…
…using Node Package Manager (npm). npm install express-session --saveRequire the express-session in the app.js file.var session = require('express-session');To use the session, you need to set a session secret.app.use(session({secret: 'my-secret'}));Now define a variable called sessions in the global scope.var sessionsAssign the sessions variable in the /signin method using the request parameter.sessions=req.session;Using…
…using reflection.A very important note from the Laravel documentation:There is no need to bind classes into the container if they do not depend on any interfaces. The container does not need to be instructed on how to build these objects, since it can automatically resolve these objects using reflection.On the…
…using a simple polar coordinates transformation based on the shadowLength and shadowAngle parameters. Also, we will have to color these copies according to the color of the shadow set by the shadowColor parameter. Because we draw the shadow as multiple images on top of each other, we will draw them…
…using this inside the map function callback, you need to bind this to the map function. Modify the map function callback as shown:<tbody> { this.state.posts.map(function(post,index) { return <tr key={index} > <td>{index+1}</td> <td>{post.title}</td> <td>{post.subject}</td> <td> <span onClick={this.updatePost.bind(this,post._id)} className="glyphicon glyphicon-pencil"></span> </td> <td> <span onClick={this.deletePost.bind(this,post._id)} className="glyphicon glyphicon-remove"></span> </td> </tr> }.bind(this)) } </tbody>Inside the…
…using your product anyway. People tend to have an opinion about everything, even though they are not completely knowledgeable in the field. Given the multitude of ways one can fail along the road, it's really important to: Build as little and as quickly as possible, showing it to people who…
…using a mobile device.Having discussed all that theory, let's jump into the actual development, and that's the best way to understand a new concept, isn't it?As a Laravel developer, it's the Artisan tool that you'll end up using most of the time to create basic template code should you wish…
…using HTML Snippets pluginmobile friendly, responsive, and fully resizableand much moreThe Interactive World Map With Cities is a great tool for those who travel a lot for business or pleasure.6. Word Search GameWord Search Game is a simple but powerful tool that lets you create and add your own word search…
…using world.bodies. Similarly, you can get an array of all the composites and constraints using world.composites and world.constraints. You can also specify the bounds of the world within which Matter.js should detect collisions using world.bounds. One interesting thing that you can change with the world properties is gravity. The gravity…