smalltowngeeks.net
5 Resources for Getting Started With Meteor.js | Small Town Geeks
http://smalltowngeeks.net/2014/12/10/5-resources-for-getting-started-with-meteor-js/comment-page-1
5 Resources for Getting Started With Meteor.js. December 10, 2014. I have been experimenting on and off for about a year with one of the BEST frameworks for rapidly prototyping web applications. Over the last year I have seen a toddler project with base functionality become one of the most full featured easy to use javascript framework that we see today. Quick Overview of Meteor. From the Meteor site (www.meteor.com):. Like the intro says what used to take days, now takes hours. I have developed apps...
webtempest.com
Background Jobs | Web Tempest
http://www.webtempest.com/meteor-background-jobs-tutorial
Meteor Background Jobs Take the load off. A basic depiction of background jobs. If you understand the theory behind background jobs and want to skip to the coding part of the tutorial, click here. Our app as a shop. In terms of actual threads doing work - here is how I visualise it:. Moving slow tasks to background jobs allows us to process more requests. In the above picture we can see how CPU intensive tasks like creating thumbnails can slowdown throughput (rate of requests being processed). And along ...
webtempest.com
Data Design | Web Tempest
http://www.webtempest.com/meteorjs-data-relationships
Meteor JS 1.0 - Data Design Basic Meteor app tutorial series. I'm going to quickly go over some database design decisions - don't fret - it's pretty easy once you get the hang of it. If you're an experienced software engineer who has done nosql schema design you'll probably know all this and can skip down to the next tutorial. In our case we have this new collection called 'games'. Now a game has two teams. And a team can have many games. We can add a teams array to our game objects, but in t...If we go ...
webtempest.com
Methods | Web Tempest
http://www.webtempest.com/meteorjs-methods
Meteor JS 1.0 - Methods Basic Meteor app tutorial series. So we've reached a point where some code really needs to be performed on the server instead of on the client. Namely our game creation code, which relies on a consistent createdAt time attribute. Allowing the client to generate the timestamp opens our app to the risk of the time being set incorrectly, or at least inconsitantly, as it gets the time from the system setup. We are simply moving the function to the cloud. So in our client-side callback...
webtempest.com
Autoform Tutorial | Web Tempest
http://www.webtempest.com/meteor-js-autoform-tutorial
Autoform for Meteor Blasting our way to easy forms. While typing out a form is relatively easy, it can become difficult and messy once you consider validation, displaying errors and wiring it up to the back end. It would be nice if we could auto generate a form for a given data structure, and luckily we can, thanks to Autoform. Let's create a new project and add some starting packages:. Mizzao:bootstrap-3" gives us Twitter's bootstrap styling. Gives us an easy way to see what's in the database. With our ...
webtempest.com
Creating Packages | Web Tempest
http://www.webtempest.com/meteor-js-packages-tutorial
Meteor Packages Tutorial Create powerful functionality and share it. Let's say you're making your million dollar app and you realise that some of your functionaliy could be used in almost any app. How do you make that code independant to your app and sharable so anyone can plug it in to their own Meteor apps? It would be nice if you could just create a folder - put all the files related to that functionality into it, create a kind of 'setup' file that explains what it relies on (does it need jQuery?
webtempest.com
Templates 2 | Web Tempest
http://www.webtempest.com/meteorjs-templates-2
Meteor JS 1.0 - Templating 2 Basic Meteor app tutorial series. In this tutorial we'll create a new 'games' collection. We'll make it so you can add and delete games, as well as being able to manipulate the scores and decide when a game is 'finished'. Before we can manipulate games we need to create them in the database and publish them to the client:. Finally, we will need to supply the template with a 'games' helper, which returns all of our games, and then display the games template in. The create even...
webtempest.com
Collection2 Package | Web Tempest
http://www.webtempest.com/meteor-js-collection2-tutorial
Meteor Collection2 Tutorial Make your collections smarter. Meteor gives you a bit of choice over how you store objects in your Mongo database. However, with this flexibility you have a bit more responsibility on your part to make sure your data is consistent and doesn't get out of control. In this post we'll look at collection2. To help us learn:. How to enforce rules on updating our collections. Such as making sure the right keys are used. And making sure our team names are unique. Stay consistent, data!
webtempest.com
Where does Meteor fit in? | Web Tempest
http://www.webtempest.com/where-does-meteor-fit-in
Where does Meteor fit in? Where does Meteor fit in? A small journey through processes, threads and servers. The Meteor website and docs makes it easy to get a small app up and running, but where does Meteor fit in compared to other Node frameworks like Express. How does it differ from Ruby on Rails. Is it hard to set up a production server, or will I have to rely on the upcoming Galaxy. Why does I/O get delegated away? To understand these things, we need to first look at processes. In the mind of a server.
webtempest.com
Learn Coffeescript Fast | Web Tempest
http://www.webtempest.com/learn-coffeescript-fast
Learn Coffeescript Fast Fast: quickly; in a small amount of time. A cup of coffee. Coffeescript is (in my opinion) how Javascript should be written. And it appears I'm not completely alone - Javascript itself is morphing towards Coffeescript ( ECMAScript 6. Is adopting several Coffeescript-like features, such as. For writing functions, using. And having string interpolation). Is doing in Javascript I urge you to go and learn it. Functions are little arrows. Also we don't have to always write. Global vari...