Intro to Angular, Yeoman, and Chrome Apps (Revised) Required JavaScript Reading I'm asked regularly about books and online resources to get up to speed on JavaScript. Seems like everyone wants to get in on the JS action and with good reason; it's a great language to know if you're interested in exciting career opportunities. It's also pretty fun to play with. With JavaScript's increased popularity, the number of books, blogs and tutorials about the language have grown exponentially and while I can't possibly know all of them, I've found some gems which I really like and would like to share those with you. Books Note that I'm only listing books that I've read and can recommend. Professional JavaScript for Web Developers by Nicholas Zakas This continues to be my most recommended book. It's a complete reference written in a very accessible way that guides you from the basics to advanced JavaScript features. JavaScript Patterns by Stoyan Stefanov Stoyan is one of the best JavaScript developers in the world, having worked on large-scale sites at Yahoo! Freebies Blogs DailyJS
Comment coupler plusieurs connexions Internet pour avoir plus de débit J'avais déjà imaginé un truc comme ça, et on m'avait toujours dit : "Ce n'est pas possible". Et je trouvais ça tellement dommage... Et vl'a ti pas que je tombe sur ce logiciel baptisé Connectify Dispatch qui permet de coupler plusieurs connexions internet pour profiter d'un débit plus grand. Effectivement, de manière native, aucun OS ne sait faire ça. L'outil disponible uniquement sous Windows est un genre de load balancer qui joue au chef d'orchestre avec votre système d'exploitation et vos accès réseau... Magique non ? L'outil est vendu packagé avec un soft de hotspot qui permet ensuite de partager ce regroupement de connexion à tous les appareils de la maison. Comprenez bien qu'une seule connexion Wifi est possible par carte WiFi. Je pense que si vous vivez à un endroit où il y a plusieurs réseaux WiFi ouverts, ça vaut le coup d'investir dans les 30 à 50 € de licence de ce logiciel. Source Vous avez aimé cet article ?
AngularJS MTV Meetup: AngularJS + Yeoman (2012-10-9) Resources to Get You Up to Speed in Ember.js You've probably noticed a lot of chatter lately about the Ember.js framework and rightfully so. It aims to make it substantially easier to build single-page web apps by abstracting a lot of the complexities for writing scalable and maintainable MVC-based code. And developers are jumping on-board in droves. Over the last year, the project and the framework have evolved quite a bit and while it's just now reaching a very stable point in its life, the frequent changes to the API over the last year has left quite a bit of outdated documentation. This happened to me as I was ramping up and I want to ease your ramp up time by listing out some great resources for learning Ember. The Resources Nettuts' Ember Series I'm going to be a little biased here because I'm the author of this series, but the feedback I've received tells me that I did a decent job of outlining the basics of Ember. Nettuts' Free "Let’s Learn Ember" Course Emberjs.com Ember Discussion Forum EmberWatch Ember 101 Video Series
Jeroen Reijn: Real-time visitor analysis with Couchbase, Elasticsearch and Kibana At Hippo we recently started using Couchbase as the storage solution for our targeting/relevance module. Couchbase is a really high performant NoSQL database, which since version 2.0 can be used as a (JSON) document database. Couchbase is really fast when it comes to simple CRUD operations, but does lack some search capabilities like Geo-spatial search (still 'experimental' mode) and free text search, which you might find in other document oriented NoSQL databases like MongoDB. However the lack of these search capabilities can be overcome quite easily by combining Couchbase with Elasticsearch by using the Couchbase-Elasticsearch transport plugin. The plugin uses the Couchbase built-in cross data center replication mechanism (XDCR), which can be used for replicating data between Couchbase clusters. It sort of makes Elasticsearch act just like another Couchbase cluster. If you are familiar with LogStash you might wonder why we use Couchbase as an additional storage for our request data.
btford/ngmin Toward Modern Web Apps with ECMAScript 6 ECMAScript, the official name for the language we all know as JavaScript, has enjoyed tremendous success over the last couple of years. With convergent standard support, performance boosts from modern JavaScript engines, as well as its foray into the server-side stack, ECMAScript has gained significant traction and redefined the scope of HTML5 applications. The final requirement for world domination is the modernization of its syntax and run-time, which is coming in ECMAScript 6 and is the subject of this post. To understand the language progress within ECMAScript 6, first we need to understand how it is developed. The ECMAScript 6 specification is still in the draft stage. “I Can See Clearly Now” It is often said that “Code is written once but read many times”. A common mystery for a novice is the following construct: // ES 5function inc(x, y) { y = y || 1; return x + y;} The use of the second argument, y, can be confusing. // ES 6function inc(x, y = 1) { return x += y; } Final Words
Grunt: The JavaScript Task Runner Using AngularJS with a Rails backend - Emmanuel Oga's Software and Stuff I created a sample AngularJSapp which uses rails as a backend. While it is possible to include AngularJS as part of the rails assets, I think it is better to setup the angular code base on a standalone folder, leaving the rails app as a (more or less) isolated backend. There are several advantages to this setup: Ability to manage the frontend app using Yeoman (including generators!).No more questions about file layout: use rails layout for rails stuff, angular-generator layout for angular stuff.Easily install external assets via bower (e.g. angularjs, jquery, twitter bootstrap, underscore, etc.).Write client side unit tests and run them with karma.Promotes unit-testing the js codebase and removes the temptation of integration-testing everything: testing with karma is a lot faster than using capybara or a similar solution.LiveReload support for free with yeoman's angular generator! (uses websockets, no need to install a browser plugin). Yeoman, Bower, Livereload and Karma Runner. Deploying
TodoMVC Speed Up Your Web Development Workflow with Grunt In a series of tutorials, I’m going to help you get started with Grunt, an open source JavaScript task runner that will automate some of your web development tasks. This nifty JavaScript library will notably speed up and improve your web development processes, and also help you sidestep common human errors. My intention with this Grunt tutorial series is to get you to experience the same productivity and efficiency improvements I’ve gained through this useful, but little-known open source JavaScript tool. Here’s the outline of this three-part Grunt tutorial series: Speed Up Your Web Development Workflow with Grunt: We’ll cover basic information about Grunt; what Grunt is, how to install Grunt, how to use Grunt in your web projects, and a brief overview of gruntplugins.Create a test project using modern front-end development techniques (will be posted on a later date)Using Grunt and Jasmine to automate testing and enforce code quality (will be posted on a later date) What is Grunt? Gruntfile
Manual Install · yeoman/yeoman Wiki Note: The documentation below is for an older version of Yeoman and has been deprecated. Please instead see the Getting Started guide for information on how to install the latest version of Yeoman Installation Yeoman used to have an automated installer, which worked great on fresher systems, but had trouble with more used and configured systems. Audit script The audit script can tell you what you're missing in order to install Yeoman. curl -L get.yeoman.io | bash The script recommends how to install what's missing, but a more verbose description follows: Yeoman Install Procedure Windows NOTE: Windows is not officially supported yet . To install Yeoman and its dependencies using Chocolatey: 1 | Open cmd & paste C:> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(' && SET PATH=%PATH%;%systemdrive%\chocolatey\bin 2 | Type c:> cinst yeoman It will fetch & install all dependent files. Mac & Linux Requirements