Ruby on Rails hands on: What's so hot about Rails?
630170
Why all the buzz around this development framework? Because creating database-driven Web apps can be faster and simpler. See how Rails works, complete with introductory code, in this excerpt from O'Reilly Media's Ruby on Rails: Up and Running.
673420
There are three projects in the Ruby world that really stood out this summer:  JRuby, Mongrel, and Ruport.  It's not so much what they've done in terms of development (though that's been impressive), but how well they've communicated.  This is something that a lot of projects don't do as well, so I wanted to take a look at what they've done in hopes that more projects might follow their lead.
367280
Zed rails, Bray dizzy The launch of a low-cost Ruby on Rails integrated development environment from SapphireSteel Software based on Microsoft's Visual Studio comes at a turning point for both the Ruby language and its associated Rails framework. But quite what the turning point will be is open to question.â¦
34909
InfoWorld - JetBrains is now accommodating Ruby developers with the company's IntelliJ Idea Java IDE. A beta plug-in released Feb. 1 enables the product to serve as an IDE for developing Ruby and Ruby on Rails applications, the company said. Ruby is a popular dynamic scripting language; Ruby on Rails is an open source Web framework that leverages Ruby.
739630
In his his latest blog entry, Felix Geisend&ouml;rfer makes a recommendation for anyone working with the CakePHP framework. He suggests doing something that most might avoid - diving into the source to find out how things work.   When hanging out in #cakephp I usally try to answer questions people have as good as I can. A lot of the times I have no idea what the answer is and in most cases the fastest way to find out is by looking at the core code. Ok, the manual is pretty decent these days and I would recommend most people to look for an answer in there first. But if you take the time to study the core code, you'll be able to answer almost any question by yourself, no matter if it has been answered somewhere before.   He talks about other advantages like finding those hidden, undocumented features already supported by the framework. Since this is the first part of the series, he just looks at how to get into the source. He starts off with the basic index.php file that comes installed with the distribution and a chunk of code that helps run the index file and is at the heart of how CakePHP works - the Dispatcher.
720541
InfoWorld - With open-source software being formally introduced Monday, WSO2 seeks to bridge the Ruby programming language and the Ruby on Rails Web framework with the SOA and Web services spaces.
703914
On his blog, Stuart Herbert has a quick tip showing how to mimic a feature of Ruby on Rails:   I'm still working on the next article in my series looking at PHP on servers, so in the mean time, check out this simple way to emulate Ruby's nice way of handling separate getter, setter and state query methods in PHP.   He admits his example isn't as elegant as the Ruby method, but it does get the job done. Code for the method is included in his post ready for cut and pasting.
275619
Travis Swicegood is teasing us with some output from a script in his latest blog post:   So my free time of late (what there is of it) has been spent on a project that's getting really close to v0.1 release. In other words, its first functional release. If you've ever run a test using the PEAR installer or know what a .phpt file looks like, you might be able to guess what I've been up.   Keep an eye on his blog for more information on his "secret project".
330392
Although the official announcement will be made Thursday by John Lam at the O'Reilly Open Source Convention in Portland, Oregon, a Microsoft spokesperson did confirm to BetaNews this afternoon that IronRuby - its .NET-centric version of the open source scripting language Ruby - is now publicly available.
591851
Okay, non-interview stuff first. I've recently picked up several 'shortcuts' from O'Reilly and Addison-Weseley.  I love this format.  For about 10 bucks, you can get a PDF only copy of a 50-100 page "book".  The shortcuts (so far at least) have been very focused, which allows them to cover a reasonable topic in sufficient depth without creating a monstrous 600+ page tome.  The shortcuts I've looked at so far have been timely, useful, and a great value.  October marks the beginning of Apress' push into Ruby and Ruby on Rails.    Apress also has Practical OCaml coming out soon to help soothe your inner functional programmer.  Now, on to interview news!
708667
Lorenzo Alberton is back today with another tutorial dealing with the PEAR::Pager class. This time, he focuses on using it with some simple Javascript and Ajax.    Not everyone has jumped on the (Ajax) bandwagon, though, and many libraries still exist without implementing this feature, so you're faced with the dilemma: should I keep using that old library and give up my cool AJAX ideas, or should I implement my own version?   If you're looking for a pager class with these requisites, I'm happy to reassure you about PEAR::Pager: it is AJAX-ready, and has been since a long time ago. 100% buzzword-compliance guaranteed!    He gives two examples of what he means - one just using the Pager package to create Javascript lists and divide them into paginated chunks and the other to work with an Ajax connection (via PEAR::HTML_AJAX) to grab the data and push it into a container DIV on the page.
722662
As both Andrei Zmievski and Clay Loveless mention in new blog posts from each, things in the PHP framework scene are getting a bit out of hand.   Andrei's comments:   I know you might be lusting after Rails for some reason and want to have the fame, the glory, and the dancing girls of DHH, but are we not going to be satisifed until Sourceforge is filled with the object-oriented diarrheal remains of our overblown egos and delusions of grandeur?   And Clay's thoughts:   Build a cool app. Forget about your own personal stamp on the framework world; you missed the boat on that one. But, if you want to make a mark, the world is wide open for new and cool applications. Pick an existing framework, start building your app, and contribute fixes back to that framework's community as you find shortcomings in your needs for your app.   They're both in agreement, and on more that one point. They recommend the best course of action for anyone out there with "the itch" to really work with a framework - fine one of the already established ones and dive right in. It might not be your own code, but you can contribute your own functionality and thoughts into the project and establish your own little niche.
300395
(InfoWorld) - Don't expect much to be added to Ruby On Rails this year. When David Heinemeier Hansson gives an update on version 2.0 of his Web application framework at its user conference in September, he's as likely to talk about what's coming out as what's going in. The goal is to keep Ruby on Rails fast, lightweight, and easy to use, characteristics that have helped it become a trendy alternative to Sun's Java and Microsoft's .Net and led to a raft of companies offering Rails development services for businesses. "We're going to pull out a fair number of elements, features that aren't a good fit for what people want to do most of the time, and make them plug-ins instead," HeinemeierÂ Hansson said in an interview. "If your application absolutely depends on them, you won't be stranded, you'll be able to get the plug-ins easily." Among the elements to go will be Action Web Service, for creating Web service APIs using SOAP, Heinemeier Hansson said. It's a way of steering developers towards using REST (representational state transfer), his preferred method for linking applications in Rails. "We don't want to turn into Java -- this pack rat that just holds onto any possession. We're not afraid to take out stuff that's not relevant or that we plain don't like," he said. There will be some additions -- the Rails team has some "pent up stuff" in the repository that it's keen to push out, he said. But the focus of Rails 2.0 is to "consolidate and sharpen" what's already there. Keeping the framework light and simple comes at a price, however, and many companies are jumping in to offer Ruby on Rails packages that bundle tools and plug-ins to make the framework more suitable for demanding business needs. Many of those products will be on show at RailsConf 2007 in Berlin in two weeks. Borland Software's CodeGear division is expected to release its Ruby on Rails Java IDE at the show, Heinemeier Hansson said. The product is based on the Eclipse platform and has been in beta since May. Sun will likely give an update on JRuby, an implementation of Ruby for Java environments. The vendor support helps quell jitters among corporate users that Ruby on Rails is not backed by a large company. If the prominent support of Oracle and IBM helped get Linux in the door at big enterprises, the support from Sun and IBM for Rails could do the same. Java and .Net have become "bloatware" as vendors add features for every possible business need, causing companies to look at alternatives, according to Cyndi Mitchell, managing director for ThoughtWorks Studios, which offers software and services for Rails development. The rise of Rails is as much a matter of timing as anything, she said. "This bloatware stuff has just ground to a halt and the alpha geeks are veering away from anything they don't need to get their work done. At the same time, the IT business cycle is picking up, and people are willing to invest again in new things," she said. Her clients are telecom, media, and finance companies looking for a fast turnaround for new applications. Most are deploying in native Ruby environments, but it helps that Sun is supporting JRuby, she said, which lets companies deploy Rails applications on existing Java servers. Jonathan Siegel, founder of Rails consulting company ELC Technologies, said applications that would take eight to 10 months to develop in .Net can be up and running in four to six months using Ruby on Rails. Still, at three years old, Rails is a young platform and has limitations. One high-profile user, the Twitter social networking site, caused a stink earlier this year by complaining that Rails didn't scale well across multiple databases and that the underlying Ruby language is slow. The open-source community responded by developing a plug-in to address the scaling issue. Some also say that both Ruby and Ruby on Rails need a stronger hand to steer them to prevent multiple implementations leading to compatibility issues. "The major risk for the future and longevity of Ruby, and by association Rails, is whether or not the platform gets splintered," Mitchell said. Siegel said: "I believe Ruby on Rails will overcome a key milestone when the deployment teams at larger organizations feel at home with the deployment side of a Rails application. In my view, that's having a deployment procedure that's as easy to maintain and monitor as for a .Net or a J2EE application." Heinemeier Hansson is nonchalant about the demands. He developed Rails for his own use and not to make money, he says, and if enterprises want to use his framework, it is they who should adjust, not he. "We're not trying to bend Ruby on Rails to fit the enterprise, we're encouraging enterprises to bend to Ruby on Rails," he said. "Come if you like it, stay away if you don't."
416010
The IBM developerWorks site brings the community another great tutorial today, this time looking at the CakePHP framework and the creation of a simple application with it.    In "Cook up Web sites fast with CakePHP, Part 1: Adding related information and services", they build a sample application (Tor) from the ground up (installation guide and all) that will take in a username and password on a login page. Their goal is to show you how much time you could safe by using the framework over just the usual library-based (or procedural) programming methods.   You will need to be a bit familiar with PHP and the Model/View/Controller design pattern before you get started here, but if you have that down, you can just jump right in. You'll also either need to register with the site or log in with your account information to get to the good stuff.
241556
Cody Caughlan has created a project that brings one of the popular features of Ruby on Rails to the world of PHP5 - database migrations.   One of the cool things I like about Ruby on Rails is the use of "migrations" for maintaining your DB. Migrations have proven to be pretty handy in keeping a local database in sync with the work of other developers. [...] Because migrations are incremental and they are done in a structured manner, it is a great way of pushing out new DB changes to the production database servers.   His framework, Ruckusing Migrations, is a modular framework that makes use of some of the more advanced features of PHP5. It's portable (via an adapter interface) and uses a generic task interface (task files) to load functionality into the framework. There's also plenty of API hooks to allow for a developer to easily create their own custom operations.   Check out the project homepage for more information.
759396
Mike Potter has posted an update on the status that Adobe is making for developers, including some new offerings for PHPers.    Over the last several months, Adobe has made enormous progress with software developers. In the few short months since the Macromedia acquisition, we have released new products, opened access to SDKs and continued to create communities of open source software.   We released two RIA SDKs: one for PHP developers and one for Ruby on Rails developers.  Both of those are free, as in speech.  Head to Google Code for the PHP RIA SDK by Adobe or the Ruby on Rails RIA SDK by Adobe.  Join the mailing list for either of them (PHP, Ruby), they're fairly active.    It's great to see a larger company taking such an interest in the dynamic web languages out there and providing good, solid tools for thier developers to use to create bigger and better applications.
275233
In my last blog post, I mentioned the work on rubinius (then at a 0.7 release and now at 0.8) and JRuby.  I also promised I&#8217;d follow up on them.  Here&#8217;s what&#8217;s been going on so far.