tag:blogger.com,1999:blog-32881756.post1310579496528959797..comments2024-03-27T10:43:33.261-04:00Comments on Code Master Blog: Ultra Light & Maintainable Wizards in RailsAndy Malehhttp://www.blogger.com/profile/10268484073612495328noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-32881756.post-20328763111388481752017-05-17T04:54:41.673-04:002017-05-17T04:54:41.673-04:00Hey Andy, just sending big thanks.
Your presentat...Hey Andy, just sending big thanks. <br />Your presentation describing all the types of pitfalls while designing wizards, and then your approach saved me countless hours of pain. I really learned a lot and it helped me build an app for my family business. <br /><br />Thanks Man!<br />Victor.Anonymoushttps://www.blogger.com/profile/04745033930506143504noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-40760900940445247562015-04-07T05:19:53.155-04:002015-04-07T05:19:53.155-04:00Just a quick note that I added the talk video and...Just a quick note that I added the talk <a href="https://www.youtube.com/watch?v=muyfoiKHMMA" rel="nofollow">video</a> and <a href="http://www.slideshare.net/AndyMaleh/ultra-light-and-maintainable-rails-wizards-at-railsconf-2014" rel="nofollow">slides</a> from RailsConf 2014's presentation under this blog post: <br /><a href="http://andymaleh.blogspot.ca/2014/03/presenting-at-railsconf-2014.html" rel="nofollow">http://andymaleh.blogspot.ca/2014/03/presenting-at-railsconf-2014.html</a><br /><br />Luke Adams, you are right about ".editable?" being a property (a method really) that returns whether the model in its current data state is editable or not. The actual example I extracted that code from (and forgot to take out or include editable?'s implementation as part of) is a business rule whereby a project goes into review once submitted and thus does not any allow further modifications until the reviewer has completed the review process. Interestingly, these business rules, which are orthogonal to presentation, make use of the <a href="http://sourcemaking.com/design_patterns/state" rel="nofollow">State Design Pattern</a> (a more modular and flexible version of the State Machine pattern originally created by the Gang of Four) to elegantly encode the different state business rules, orthogonally to the Wizard step-by-step presentation rules leading to extremely easy to understand and maintain code (saving days worth of work).Andy Malehhttps://www.blogger.com/profile/10268484073612495328noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-23162463774991027732014-05-27T21:55:41.670-04:002014-05-27T21:55:41.670-04:00The smartest maintainable approach for the wizard...The smartest maintainable approach for the wizard hell Ive seen. Great talk! Thank you for sharing. I hope I can see that great gem working any time soon. Do you have any idea how this solution could be packed in the gem? I would love to engage in this project.one more blog about somethinghttps://www.blogger.com/profile/16587426769596166132noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-8649076757636863092014-05-14T19:29:29.812-04:002014-05-14T19:29:29.812-04:00Thanks Andy! I have been thrown into rails develo...Thanks Andy! I have been thrown into rails development and this pattern has really helped me understand different ways of presenting.<br /><br />I could ask a million questions, but I will start with one small one. :) What is .editable? in your parts controller? I was thinking this would be part of ActiveRecord but I can't seem to find a reference to it. I also thought it might just be a need to be implemented property that said the model was ready for updates?<br /><br />Thanks again!Anonymoushttps://www.blogger.com/profile/13918675901875941300noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-13601562303114452402014-05-01T13:20:51.599-04:002014-05-01T13:20:51.599-04:00Enjoyed your talk at Railsconf and am referring ba...Enjoyed your talk at Railsconf and am referring back to your stuff now for a problem in need of a wizard solution. Thanks again! Neil@ShopifyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-32881756.post-31329122663834130472013-10-28T21:13:31.689-04:002013-10-28T21:13:31.689-04:00Nice blog. I've just started looking into Ruby...Nice blog. I've just started looking into Ruby, Rail, and Java. I used to develop in C# eventually moved into sw management. This has been a good read to catch up on some of today's technologies since I wish to do some development again. ThanksDouglas Leehttps://www.blogger.com/profile/10554105680370535003noreply@blogger.com