whatsMeteora whatsApp like Chat App
&
Big Projects with Meteor
Michael LazarskiTwitter: @lazarskiDOTme
What we will create today!
Demo:http://whatsmeteor.meteor.comAdd me: [email protected] url:https://github.com/lampe/whatsMeteor
CamelCase vs underscores
Use a Linter like JSHint
Use Code beautifier
Session for Global variables and ReactiveVar for Template specific variables
Variable name: templateNameVarName
Remove autopublish and insecure from the start
Let's talk about structure
Special Folder 1/2
Special Folder 2/2
Views/Components
navBar.html
navBar.css
Okay but what about routes ?
meteor add Iron:router
Okay but what about subscriptions ?
User Template Subscriptions !
So we can use this:
Or this:
But what about the Server Side?
Use Meteor.methods for data ! 1/
Use Meteor.methods for data ! 2/3
The Future is your friend
Some Mobile Tipps
Always run meteor with verbose
Test your app on a slow connection
Test your app on more then one Android version
Remember that to get in the Apple Store it can take some time
Check if Packages are also working on mobile like CSS Frameworks
CSS Frameworks
Bootstrap has most extra packages
Foundation has also extra packages but not that much
Semantic-ui is you tell me ?
New Hotness materializecssmeteor add materialize:materialize
Okay lets build a chat app!
Top Related