Skip to main content

Posts

Showing posts from January, 2016

Microsoft veut offrir une alternative pour Node.JS

Le succès aveuglant du Web ces dernières années repose notamment sur sa standardisation. La standardisation permet de s'assurer que personne ne sera dépendant d'un éditeur: ni les utilisateurs, ni les créateurs de contenu. C'est ce qui permet par exemple à un développeur de créer sous Linux une application qui fonctionnera sous iOS comme sous Edge. Pourtant, il y a toujours des éditeurs qui veulent rendre le Web propriétaire. L'enjeu est énorme, et on a vu de nombreuses tentatives dans le passé. Pour n'en citer que quelques unes, Microsoft avec IE6, Apple avec les applications iPhone, Google avec Chrome. Pour les développeurs, la tentation est grande de tomber dans le piège de la dé-standardisation. Ainsi, on voit quantité de développeurs Web qui voudraient que WebKit soit le seul moteur pour les navigateurs Web. Bien sûr, ils se disent que ça leur ferait moins de travail de vérification de leur code sur les différentes plateformes. Mais c'est un choix perd

Learn ASP.NET MVC now available in a store near you

Learn ASP.NET MVC, my book that allows you to learn ASP.NET MVC in a week, is now available to more ebook stores: Learn ASP.NET MVC ebook on Scribd Learn ASP.NET MVC ebook on Kobo Learn ASP.NET MVC ebook on iBooks Learn ASP.NET MVC ebook on Inktera Plus, it remains available in the previous stores, including the print version: Learn ASP.NET MVC print (paperback) on Barnes & Noble Learn ASP.NET MVC ebook on Barnes & Noble (Nook) Learn ASP.NET MVC ebook on Leanpub Learn ASP.NET MVC print (paperback) on Amazon US Learn ASP.NET MVC print (paperback) on Lulu Learn ASP.NET MVC ebook on Amazon US Learn ASP.NET MVC print (paperback) on Amazon UK Learn ASP.NET MVC ebook on Amazon UK Learn ASP.NET MVC ebook on Amazon France Learn ASP.NET MVC print (paperback) on Amazon France Learn ASP.NET MVC ebook on Amazon Deutschland Learn ASP.NET MVC print (paperback) on Amazon Deutschland Learn ASP.NET MVC ebook on Amazon Mexico Learn ASP.NET MVC print (paperback) on Amazon C

Publish an API to a MongoDB collection using Meteor in 5 minutes

Suppose you have a collection in your MongoDB database and want to publish it over a REST API. This can be done in minutes using Meteor. Follow the steps. Create the Meteor project Open the command-line and type: meteor create my_project cd my_project Connect to the collection Suppose you want to publish the collection named collection_name from your MongoDB database. Just add the following line of code to the my_project.js file: MyCollection = new Mongo.Collection("collection_name"); Add the Restivus package Open the command-line and type: meteor add nimble:restivus Publish the API Add the following line of code to the my_project.js file: if(Meteor.isServer) { Meteor.startup(function () { var api = new Restivus({ }); api.addCollection(MyCollection); }); } Enjoy the result You can now use the following REST API: GET, POST on /api/collection_name GET, PUT, DELETE on /api/collection_name/:id Wait... Best of all is that normally,

Meteor in real life

For a client's project, I recently selected Meteor . It promises a lot, like many frameworks, but the difference with other frameworks is that it holds to its promises. Basically put: Meteor is one of the most productive frameworks I ever tried . Meteor produces Web applications that run under Node.JS using MongoDB . And does it extremely well. It provides you with a command-line that makes most tasks easy and painless: create a project, use packages, and even serve it locally. There are many packages that allow to create CRUD applications quickly: MongoDB schemas, automatic forms creation for CRUD operations, automatic APIs for CRUD operations, client and server-side routing, authentication, themes, admin dashboards. Plus the documentation is extensive. What are the cons? Well, I can see two of them: Deployment can be harsh if you are self hosting. It's a steep learning curve. You can rapidly create your first application, but coding correctly means understanding a l
The free source code for my Learn ASP.NET MVC book is available here: https://bitbucket.org/epobb/aspnetmvc It includes the demos and do-it-yourself from the book.
Découvrez l'interview réalisée par DevApps avec Denis Voituron et Toss Net pour la sortie de mon livre Learn Asp.net MVC : Retrouvez aussi l'intégralité des podcasts de DevApps.be .