Surprisingly many web developers don't realize that Javascript ecosystem is not the same as it was few years ago, when building a single-page web application was considered risky business.
Those times are way behind. Modern javascript MVC frameworks are if not silver, but certainly solid bullets which every person who wants to use benefits of evolution should be aware of.
I'll tell you about challenges that happen when you build a single-page application, about REST interface, and certainly about one of such frameworks: AngularJS, created by hackers from Google keeping in mind best software development principles such as TDD and dependency injections. That's why writing with AngularJS is such a pleasure.
49. 2.5 years in development
Version 1.0 few weeks ago
50. 2.5 years in development
Version 1.0 few weeks ago
Used in Google’s production projects
51. 2.5 years in development
Version 1.0 few weeks ago
Used in Google’s production projects
3 people of core team + hundreds of community
52. 2.5 years in development
Version 1.0 few weeks ago
Used in Google’s production projects
3 people of core team + hundreds of community
Makes web development fun again!
81. Hello world example
If you read this presentation on your own, checkout the
example from: http://github.com/mkotsur/flatometer and walk thru all
steps with http://bit.ly/N2MyVU
and read commit messages...
What do I mean “Grown-up” Javascript?\nLecture:\n- Different approaches of web app;\n- Key features of AngularJS;\n- An example of angular JS app;\n- Let’s dive into the code and see what it takes to build an app from scratch.\n\nQuestions:\n- Who writes in JS at least once a week?\n- Who tried high-level JS frameworks. Something more fancy then Jquery?\n- Who is familiar with TDD?\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Forms submit breaks SPA.\nUnload servers - same problem, but on different scales.\nSmaller components - more complex development.\nThe last one is important!\n
Forms submit breaks SPA.\nUnload servers - same problem, but on different scales.\nSmaller components - more complex development.\nThe last one is important!\n
Forms submit breaks SPA.\nUnload servers - same problem, but on different scales.\nSmaller components - more complex development.\nThe last one is important!\n
Forms submit breaks SPA.\nUnload servers - same problem, but on different scales.\nSmaller components - more complex development.\nThe last one is important!\n
Forms submit breaks SPA.\nUnload servers - same problem, but on different scales.\nSmaller components - more complex development.\nThe last one is important!\n
\n
\n
What is REST? It’s just a style of communication between services in the Internet which employs HTTP as a language.\n\nStateless\nCacheable\nClean\n
It has verbs\n
It has resources\n
\n
\n
\n
\n
\n
But let’s focus on web usage only. Now we have our server fully prepared to send us loads of data which we need.\n
\n
Javascript duck typing.\n
\n
\n
\n
If you build a really nice app, it will be recognized by the name;\nThere is still a way to do few almost static pages served by some backend, or CMS. But it will be separate app.\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Declarative: what the program should accomplish, rather than describing how to go about accomplishing it.\nAnd what is important, you don’t need to torture your brain each time you are going to write something like this. It comes very natural.\n
\n
\n
Declatative: what the program should accomplish, rather than describing how to go about accomplishing it.\nAnd what is important, you don’t need to torture your brain each time you are going to write something like this. It comes very natural.\n
\n
\n
Declatative: what the program should accomplish, rather than describing how to go about accomplishing it.\nAnd what is important, you don’t need to torture your brain each time you are going to write something like this. It comes very natural.\n
Declatative: what the program should accomplish, rather than describing how to go about accomplishing it.\nAnd what is important, you don’t need to torture your brain each time you are going to write something like this. It comes very natural.\n
Those of you who were into automated testing, know very well about this problem.\n