3 ms·
If I was teaching the basics of building an app, these would be some classes I'd teach: 1) hello world using MVC 2) gobble an RSS feed and make it pretty (lea
by fookyong 16y ago
If I was teaching the basics of building an app, these would be some classes I'd teach:
1) hello world using MVC
2) gobble an RSS feed and make it pretty (learn about objects / data massaging)
3) pull data from a database and display
4) put / pull from database (CRUD)
5) some kind of basic auth
After that, a new world should have opened up. There's a lot you can do, mashup / small app-wise with just the above skills.
I would follow it up with:
6) REST / SOAP and intro to some popular APIs e.g. Twitter / Facebook / Gmaps
7) Performance tuning / Profiling (slow query log, denormalization, caching etc)
8) Front end stuff (jquery / ajax / visualisations, graphs etc)
- Scriptor 16y agoJavascript needs a lot of attention on its own since it has different best practices from other languages. At the same time, apps can be made more fun to play with if you know basic DOM manipulation. It will also be necessary to teach how to properly organize an ajax app (don't just send html or eval code, use json and separate concerns between client and server).
- InclinedPlane 16y agoQuite true. If you approach javascript with the notion that it's fundamentally similar to C++ or Java then it will look like a crazy mutant language create by insane sadists. If instead you approach javascript on its own terms and understand its fundamentals and how to use it properly then you will be far less frustrated and far more satisfied with javascript as a language.