Skip to main content
Learn Meteor and Build a real-time polling app Install Meteor download for windows: https://install.meteor.com/windows install for osx/linux: curl https://install.meteor.com/ | sh open cmd and type meteor --version Meteor comes with a few demo applications that you can try out. If you want to check out a few demo apps now, you can go into your command line and grab the demo application using: // todo sample app meteor create --example todos // example mobile application meteor create --example localmarket Once you create a demo app, just cd into that project and run the application with: meteor This will grab the necessary packages, bundle all the css and js, start your application using a Node server, and make it viewable in your browser. http://localhost:3000 Here is the sample Todos application which is quite good looking: meteor-demo-todos Definitely click around the files in these demo applications and you’ll see how Meteor apps tick. Let’s move onto creating our own application now. Create a New Application With our newly installed Meteor CLI tools, we can easily create a new application with: meteor create polling meteor-create-new-app polling will be the name of our new application and it will be created in a new polling/ folder. This command will create 3 new files and a folder: | .meteor/ // holds information about our project | polling.css // the css for our project | polling.html // the overall template | polling.js // javascript for the client and server This is a very barebones setup and will not be how we structure our application, but it is useful to see how a very simple application can be built. You can run this app by cding into your new project and starting your meteor app with: meteor Then you can view it in the browser at http://localhost:3000 meteor-new-app-barebones for More Meteor Application #StayConnected

Comments

Post a Comment

Popular posts from this blog

Learn Nodejs

My favorite resource is "nodeschool.io!" "Install these choose-your-own-adventure style lessons and learn how to use node.js, npm and other related tools by writing code to solve realistic problems. The lessons run in your terminal and work on Windows, Mac and Linux."   Tutorials Hello World Hello World Web Server Node.js guide Build a blog with Node.js, express and mongodb Node.Js Tutorials At Project 70 Node.js for Beginners Learn Node.js Completely and with Confidence Videos Node tuts Introduction to Node.js with Ryan Dahl Node.js: Asynchronous Purity Leads to Faster Development Parallel Programming with Node.js Server-side JavaScript with Node, Connect & Express Node.js First Look Node.js with MongoDB Ryan Dahl's Google Tech Talk Screencasts Learn All The Nodes NodeTuts NodeCasts Books " The Node Beginner Book Mastering Node.js Up and Running with Node.js Node.js in Action Smashing Node.js: JavaScript Ev...
If you want lists, for back-end languages (in order of my ability to recall): If you want lists, for back-end languages (in order of my ability to recall): Java (and other JVM languages like Scala, Groovy, Clojure) PHP .NET (C#, VB) Ruby Python Perl Javascript (Node JS) Actionscript (Flash Media Server) CoffeeScript C (CGI) Erlang oh, and SQL for db queries For browser-based front-end languages, you're somewhat limited in what the browser can support (excluding launching out-of-browser applications). We could talk about: HTML Javascript CSS Actionscript CoffeeScript (compiled to Javascript) XML-based languages (X3D, SMIL, SVG, DITA, some interpreted by the browser, others transformed using XSL) VBScript Silverlight Java (applets) For native PC desktop front-ends, most popular front-end languages would probably be (I'm guessing, in no order): Visual Basic 6 (from my experience with big enterprises, I bet a lot of those are still out there, just like Windows Vista) .NET Jav...