tag:blogger.com,1999:blog-7821856652257554779.post2119518173659229281..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: How can Rails react to the rise of the JavaScript applications? Andrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-7821856652257554779.post-60318149615260955112014-01-02T13:13:55.446+01:002014-01-02T13:13:55.446+01:00I took some time to hack with Opal yesterday. It&#...I took some time to hack with Opal yesterday. It&#39;s not fully stable yet, but it has a fantastic vision behind it.<br /><br />I didn&#39;t try Vienna, but the idea of using Ruby on the frontend is quite appealing.<br /><br />It may be a new direction for Rails devs :)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-35574707709898352732014-01-02T13:11:57.910+01:002014-01-02T13:11:57.910+01:00I would like to see Opal http://opalrb.org and its...I would like to see Opal http://opalrb.org and its framework viennaKarthikeyan A Khttp://77mind.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-18361946403181847382014-01-01T19:17:05.849+01:002014-01-01T19:17:05.849+01:00For anyone interested in a subject of Rails direct...For anyone interested in a subject of Rails direction in context of new approaches to web development, I wrote a blog post as a response to &quot;Rails should fundamentally change&quot;: http://piotrsarnacki.com/2014/01/01/i-am-tired-by-rails-should-fundamentally-change-crowd/Piotr Sarnackihttps://www.blogger.com/profile/01525187363157624597noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-33709746138189013972013-12-31T13:24:35.691+01:002013-12-31T13:24:35.691+01:00Hey Patrick, good to see you again :) You&#39;re ...Hey Patrick, good to see you again :)<br /><br />You&#39;re right, Ruby brought many interesting features into programming. It can influence the way we do JS apps as well. <br /><br />The trend of full-stack JS is visible, indeed. <br /><br />At this very moment, I&#39;m playing with Opal, which, at least in theory, could give us full-stack Ruby. Quite intriguing :)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-59842564391222805632013-12-31T13:06:28.814+01:002013-12-31T13:06:28.814+01:00Nice discussion. For sure, the design of ActiveRe...Nice discussion.<br /><br />For sure, the design of ActiveRecord and the idea of scaffolds was revolutionary back in 2005/2006. Actually, I blogged about it too: http://thinkingonthinking.com/Here-Goes-Your-Web-Stack/<br /><br />To me, the influence of Ruby on programming is still very important. The idea to develop software with fast feedback with a REPL is just great.<br /><br />But I can&#39;t see why the same principles from Ruby that made Rails great, can&#39;t be applied to JavaScript development too. My bet is a trend towards more full-stack JavaScript applications, one of the drivers might be the JavaScript used for better schema(-less) development with Node.js too.Patrickhttp://thinkingonthinking.comnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-68083532710605259562013-12-30T10:40:51.380+01:002013-12-30T10:40:51.380+01:00Pooyan, thank you for kind words! Yes, SOA is mor...Pooyan, thank you for kind words!<br /><br />Yes, SOA is more interesting. I&#39;m also involved in our company blog and we recently blogged about SOA:<br /><br />http://blog.arkency.com/2013/12/rails-and-soa-do-i-really-need-to-have-this-big-app/<br /><br />Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-18677058796083008542013-12-30T10:39:43.922+01:002013-12-30T10:39:43.922+01:00Ankur, thank yout for mentioning Joosy, I&#39;ll h...Ankur, thank yout for mentioning Joosy, I&#39;ll have a look!Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-55049490995024269672013-12-30T01:45:20.496+01:002013-12-30T01:45:20.496+01:00Andrzej, your thoughts means a lot to us, do share...Andrzej, your thoughts means a lot to us, do share them more.<br />I&#39;m in for more SOA, we can use Symfony2, Scala and even Node with Rails.<br /><br />IMHO coupling frontend and backend maybe is not that much of a good idea. So maybe adhering to REST is good enough?<br /><br />Nevertheless we definitely need more conventions.Anonymoushttps://www.blogger.com/profile/00956022875698210581noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-79203791236575849912013-12-29T18:59:04.053+01:002013-12-29T18:59:04.053+01:00Have you checked this out: http://joosy.ws/Have you checked this out: http://joosy.ws/ankurhttps://www.blogger.com/profile/10189644296277309313noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-2884533932271187352013-12-29T17:58:26.012+01:002013-12-29T17:58:26.012+01:00&gt; Interesting idea with Rails-API-Angular|Ember...&gt; Interesting idea with Rails-API-Angular|Ember, I didn&#39;t think about that. It makes sense :)<br />&gt; <br />&gt; Anyone already doing this?<br /><br />Yes, we are in a few projects already :). Good combination.<br /><br />I think this is the way Rails will evolve, views layer will be moved to JavaScript along with large part of logic. If you consider Rails for building a web services, it&#39;s actualy really nice framework ;).Hubert Łępickihttps://www.blogger.com/profile/12526246447810063899noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-67355333211050227692013-12-29T12:45:04.476+01:002013-12-29T12:45:04.476+01:00I&#39;m not day-to-day rails developer, just doing...I&#39;m not day-to-day rails developer, just doing some small pet-projects to keep eye on stuff but I think bundling frontend framework is not a good idea. I think rich JS apps should be clients of your API only (they can even be in separate repository). Projects can still use rails and tons of its goodies for backend and just expose raw API to clients. There was also a project called rails-api but I&#39;m not sure if it is widely used.<br />Also coupling yet another frontend thing to rails would complicate things even more (I guess it wouldn&#39;t be the only way, so the current view stuff would still exist).<br /><br />BTW, thanks for posting the PHP Symphony2 stuff. Need to take a look at this. Haven&#39;t used PHP for ages, maybe it really matured as you said.Michał Ostruszkahttps://www.blogger.com/profile/06591939109925979508noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-4147735014112632712013-12-29T12:24:07.679+01:002013-12-29T12:24:07.679+01:00&quot;Same ORM, same controller concept, same view...&quot;Same ORM, same controller concept, same view layer with helpers.&quot;<br /><br />This.<br /><br />When I read your comment, I realised that those things didn&#39;t change and those are exactly the things that could be improved.<br /><br />People often say - if you don&#39;t like something, write a pull request. The thing is, if I fundamentally disagree with some architectural choices, then it has no chance of being merged in.<br /><br />There is huge value in the Rails brand - from a marketing point of view. No chance that anyone can come up with a competing Ruby stack and &#39;win&#39; the masses.<br /><br />I&#39;m still hoping that something *is* going to happen in the Rails core team. I&#39;m hoping for some brave plans, not just &#39;small improvements&#39;. We need some new energy in the community.<br /><br />I&#39;m not an Angular fan, BUT, the marriage of Rails and AngularJS would be a huge marketing win for both sides.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-75272703708035165062013-12-29T10:55:53.847+01:002013-12-29T10:55:53.847+01:00I don&#39;t want to go off the track with the disc...I don&#39;t want to go off the track with the discussion (sic!) but I can&#39;t help myself. What you mentioned about Symfony is really interesting. It is no news to me but seeing it mentioned here got me thinking, again, about where rails is heading.<br /><br />These days I&#39;m pretty sure Rails will not change much. In fact it hasn&#39;t changed much in years. I said this many times in the past and usually I was &quot;attacked&quot; with arguments that it improved a lot in 2=&gt;3 transition. And now we have lots of new goodies in 4.x. So, yes, I agree, it improved...however, it stayed the same when it comes to its core architecture. Same ORM, same controller concept, same view layer with helpers.solnichttps://www.blogger.com/profile/10596872048073669420noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-20618485902071324622013-12-28T23:29:19.020+01:002013-12-28T23:29:19.020+01:00Marta, thanks, I appreciate it :)Marta, thanks, I appreciate it :)Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-39189693770980435792013-12-28T23:29:00.183+01:002013-12-28T23:29:00.183+01:00Drogomir, I&#39;ll try to blog about it soon. Me...Drogomir,<br /><br />I&#39;ll try to blog about it soon.<br /><br />Meanwhile, you may find those resources interesting:<br /><br />(hexagonal symfony)<br /><br />http://www.youtube.com/watch?v=0L_9NutiJlc<br /><br />https://github.com/MarcelloDuarte/hexagonal-symfony<br /><br />They have a real DataMapper tool (Doctrine) which makes writing domain and services much easier than in Rails.<br /><br />Also, they have a DI solution built into the framework, thus it makes handling the external dependencies much easier (you can compare it to Ruby gems being able to be automatically injected into the service layer).Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-53972031753104519382013-12-28T22:57:42.089+01:002013-12-28T22:57:42.089+01:00Good post!Good post!Anonymoushttps://www.blogger.com/profile/14494985423496347337noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-10002019294390142152013-12-28T22:22:49.369+01:002013-12-28T22:22:49.369+01:00I highly doubt that any javascript framework will ...I highly doubt that any javascript framework will be included in rails and I would strongly discourage that. There is an ember-rails gem and it&#39;s probably not really hard to provide an angular-rails gem (if it doesn&#39;t exist already).<br /><br />Regarding Symfony2, what are the things that make it &quot;architecturaly ahead of Rails&quot;?Piotr Sarnackihttps://www.blogger.com/profile/01525187363157624597noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-18970178749021445812013-12-28T21:43:38.971+01:002013-12-28T21:43:38.971+01:00I think adding a front end JS framework to Rails i...I think adding a front end JS framework to Rails is a really bad idea. I haven&#39;t come across a use case where a front end framework provides any advantage over the default use of UJS/SJR. It would just be adding bloat and complication.<br /><br />I built a Wufoo style form builder (single page) using Rails defaults.<br /><br />It&#39;s very possible I&#39;m missing something about the front end frameworks though if someone would care to enlighten.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-84986754302720181822013-12-28T21:17:53.472+01:002013-12-28T21:17:53.472+01:00Interesting idea with Rails-API-Angular|Ember, I d...Interesting idea with Rails-API-Angular|Ember, I didn&#39;t think about that. It makes sense :)<br /><br />Anyone already doing this?Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-68693124874554839192013-12-28T21:16:07.745+01:002013-12-28T21:16:07.745+01:00I like point 3. Let&#39;s have extra &quot;Rails-A...I like point 3. Let&#39;s have extra &quot;Rails-API-Angular&quot; and &quot;Rails-API-Ember&quot; gems which extend <a href="https://github.com/rails-api/rails-api" rel="nofollow">Rails-API</a> with optimizations necessary for the respective framework (build by users of the js framework, not necessarily the rails contributors)J-_-Lhttps://github.com/janlelis/rgnoreply@blogger.com