Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 KB | None | 0 0
  1. Web apps the journey
  2.  
  3. How we got here
  4.  
  5. Back to the future clock
  6.  
  7. When you are asked to give a talk most of the time you don't actually think you have something interesdting to say. All the subjects are already covered in some form so the only new thing I think one can add to a talk is a new point of view of subjects that are already out there.
  8.  
  9. When Christian asked me to talk here at Solutis I didn't want to re-use one of my previous talks so I proposed a couple of options. Actually from those options this is the one I didn't want to be picked since it's the one that involved more research and effort to develop and I'm a developer that means I'm lazy by nature.
  10.  
  11. But here we are, I really wanted to say a few things about how we got here, how we ended up talking about bundlers and package managers because I feel I got into the industry just about the right time and I've been seeing every trend and new shiny thing that's out there. I feel that by telling you my story I can tell you about the last 15 years of web development.
  12.  
  13. About me
  14.  
  15. Old picture from cherta
  16.  
  17. This is me around the same time I got my first job in a software development company. Honestly if I were those guys I haven't hired myself.
  18.  
  19. It was 2005 and I joined this big company called TCS -you may have heard about them- and landed in an internal development group, that means I had no client pressure so we could innovate and try new things.
  20.  
  21. Around the same time Jesse James Garret an engineer working at Adaptative Path coined the term Ajax that will change how we develop applications and it will put JavaScript into a place that few people thought it could be placed.
  22.  
  23. Timeline I
  24.  
  25. Timeline with Ajax and some previous frameworks
  26.  
  27. This is interesting because all the previous framework we used to work with didn't come with asynchronous development in mind, they were regular server side frameworks where you issue a request and the response was expected to return another web page.
  28.  
  29. Dependent combos
  30.  
  31. Dependent combos reloading the whole page
  32.  
  33. You may remember these type of interactions if you are old enough like me.
  34.  
  35. As ugly as you may thing this is something developers like me did this all the time, first because the web as a platform was not evolved as it's right now, that means our only tools were these ugly dropdowns and a few other components and second because Ajax wasn't a thing so frameworks didn't thought about users ergonomics but developers ergonomics and I think this is still the case for some tools.
  36.  
  37. Timeline II
  38.  
  39. Timeline with Ajax and now Gmail wich is prior to Jesse James Garret article
  40.  
  41. Honestly I was lying to you a bit just to fit these timeline into my own career schedule. Actually there was one company doing better things than reloading the whole page by 2005. Of course we were years behind them but still, people started to get use to these type of interfaces.
  42.  
  43. Gmail
  44.  
  45. First Gmail UI
  46.  
  47. Gmail set the bar for everybody else an while people were getting used to it we developers needed a new way of deveoping web applications.
  48.  
  49. Please remember I worked for big corporate companies and they live in their own world very far away from consumers and this time was not an exception we kept doing ugly web applications even tho the technology was there.
  50.  
  51. Timeline III
  52.  
  53. Timeline with everything and also rails and jquery
  54.  
  55. By late 2006 three big things were released Rails, jQuery, and Dojo.
  56.  
  57. They all solve different issues but in a similar way so I think it's funny -and very handy for this presentation- that they appeard in a similar moment in time in the history of web development.
  58.  
  59. Rails
  60.  
  61. Missing
  62.  
  63. The rails people or should I said David Heinemeier Hansson who's rails creator and still maintains the framework wanted to tackle the common parts of web development in a nice gentle way. They knew there were several frameworks out there but none of them did what he needed.
  64.  
  65. These people were sick of configuring things and if you did java I bet you are sick of that too so they created a framework where most of the things worked out of the box without the need of configuring them. Convention over configuration they called it.
  66.  
  67. Rails started a trend that survived and it's still very core to a lot of the tools we use today, people like Yehuda Katz extended that idea and ported it to his other projects like Ember.
  68.  
  69. jQuery
  70.  
  71. Browser compatibility
  72.  
  73. It was 2006 and junior web developers like me were asked tom support multiple browser, there was the nefarious IE6 that we all learned to hate and by late 2004 we had Mozilla. jQuery landed just at the right time for a whole genration of developers that were maintaining browsers inconsistencies and for -again- lazy developer that didn't want to learn JavaScript (I don't blame them) and prefered to learn jQuery's API.
  74.  
  75. DOJO
  76.  
  77.  
  78.  
  79. Fast forward
  80.  
  81. Missing
  82.  
  83. So why should I care about all this ancient history you should be asking. Well, a fun fact is that it's not that ancient and secondly I think these tools shaped in several ways the tools we have now.
  84.  
  85. So let's take a look to the current landscape of tools and frameworks.
  86.  
  87. Ember
  88.  
  89. Tomster
  90.  
  91. Ember started around 2011as a spinoff of another framework named SproutCore but it was not until late 2012 when Ember reaches 1.13 when it took the shape of what I think ember currently is.
  92.  
  93. Since Ember was created by tilde.io the company of Yehuda Katz it's not a surprise that most of the core values rails have had during the years landed in Ember as well.
  94.  
  95. So Ember is a framework, not a library -like jQuery- it solves many issues and has the convention over configuration philosophy, more on that, Ember has a great CLI -which was ported to Angular- because the creators learned that developers are lazy and want their framework to do more for them.
  96.  
  97. Ember II
  98.  
  99. Another great feature is that similar to rails the framework is built to last and to carry new technologies and convert it to framework specific idioms.
  100.  
  101. Build to last
  102.  
  103. Ember is one of the bests choices if you are building long lasting projects that can't afford a major re-write every couple of years. Ember may take more time to land features than other frameworks but they will eventually land with the added benefit that they will always provide a migration path and probably will warn you months after about the changes you need to make.
  104.  
  105. Innovation within the framework
  106.  
  107. The same approach rails took websockets and background jobs and added them into their own rails-flavored way Ember takes different technologies and approaches to mix them into their own idioms.
  108.  
  109. Ember succesfully added VDOM diffing and later his own -faster- way of compiling templates, whitout touching most of the idioms they already had.
  110.  
  111. Some history
  112.  
  113.  
  114.  
  115. https://github.com/mraible/history-of-web-frameworks-timeline
  116.  
  117. - Early 2005 - Ajax
  118. - Late 2005 - Rails
  119. - Mid 2006 - jQuery
  120. - Late 2008 - Chrome
  121. - Early 2009 Node
  122. - Mid 2009 - Flex 3.0
  123. - Early 2010 - Angular Open Sourced
  124. - Early 2010 - Steve Jobs thoughts on flash
  125. - Mid 2012 - Ember 1.0
  126. - Early 2013 - React
  127.  
  128. Before 2005
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement