Less is more for Ruby on Rails, inventor says
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."
416380
SAN FRANCISCO Advanced Micro Devices has brought forward a demonstration of its version of a new approach to processor design, with a chip that is expected to offer faster computing and relatively less power consumption.
593656
Texas Instruments Inc. engineers and MIT researchers say they've designed a new chip that consumes less power and can be used in devices as varied as medical implants and sensors that detect enemy tanks.
73881
Ruby on Rails on Rails on Rails on Rails We'll hand it to IBM's researchers. They think big - really big. Like holy-crap-what-have-you-done big.â¦
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.
621839
"Rubinius is a project to watch", so says Charles Nutter in his post Rite, Rubinius, and Everything &mdash; I think he's right.  Evan is hard at work making things work better in rubinius.  He's now got continuations working (I think this makes him the first alternative implementation of Ruby to do so), and says he should have serializable continuations soon (see his post on it here).  W00t!
660991
Developer of the Linux kernel says improvements in power-management, energy-diagnosis tools are in the offing.
122567
Chipmaker turns to a more-is-better approach, downplaying chip speeds in favor of new features and designs.
417324
NetBeans IDE will give Ruby developers a more productive environment.
453201
Hoping to extend the reach of its .NET application programming environment, Microsoft on Tuesday debuted a version that is intended for use in smaller embedded devices called ".NET Micro."
553129
A Win/Mac developer recently asked me what I thought about his plan to create a binary of his application and sell it to interested Linux sound and music people. He asked with some trepidation, having already received a rather critical chorus of objection from some overly enthusiastic Linux users. This man's work is excellent and his software already runs nicely under Wine.read more
431145
On the "start up web 2.0" blog today, there's a set of benchmarks comparing two popular PHP frameworks - CakePHP and CodeIgniter - and how the fare in the standard "Hello World" sort of test.   After reading How fast is your framework I was rather intrigued to compare CakePHP and CodeIgniter. [...] Each framework is required to have the output "HelloWorld!" produced from a view and a controllers will obviously have to be created.   He ran the tests with the Apache benchmark tool (ab) and the simple code he provides with the results leaning towards CodeIgniter (by a good bit). Overall, it had a faster response time than CakePHP by about half.   Check out his results and grab the code and run it for yourself - see what kind of results you get and how they compare.
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.â¦
238992
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.The company is set to debut WSO2 WSF/Ruby (Web Services Framework for Ruby) 1.0, providing a Ruby extension to support the Web Services WS-* stack. Ruby developers can incorporate security and reliable messaging capabilities needed for trusted, enterprise-class SOAP-based Web services, WSO2 said. But the product also supports the alternative REST (Representational State Transfer) Web services."Ruby, as you know, has become a very popular language the last few years, and what we are enabling is for Ruby to become part of an enterprise SOA architecture," WSO Chairman/CEO Sanjiva Weerawarana said.While Ruby has been popular in the Web 2.0 realm, sometimes it needs to talk to legacy architectures, he said. With the new framework, developers could build a Web application using Ruby and then hook into enterprise infrastructures, such as JMS (Java Message Service) queues. For example, a Web site might be built with Ruby that then needs to link to an order fulfillment system based on an IBM mainframe or minicomputer, Weerawarana said.With the December release of Ruby on Rails 2.0, the builders of Rails swapped out a SOAP library and replaced it with REST capabilities. In doing this, David Heinemeier Hansson, the founder of Rails, stressed that that SOAP and its attendant WS-* stack had become too complex.But Weerawarana stressed REST may not always be sufficient. "[The REST preference] is a perfectly fine position to take if you don't need any kind of these security and reliability infrastructure [capabilities]," he said. WSO2's framework would replace the SOAP capabilities removed in Rails 2.0, he said.Weerawarana's stance was seconded by a user of the company's products, Stefan Tilkov, CEO of infoQ, a consulting firm near Dusseldorf, Germany. While saying he likes Rails because it picks and chooses technologies, such as opting for REST over SOAP, Tilkov said businesses may not be ready to welcome Rails and the lesser known REST Web services at the same time, he said."Sometimes, you have to decide whether you want to fight all of the possible battles at once. Trying to introduce both Rails and [REST] at the same to a company can really be a challenge," he said. WSO2 is providing WS-* and SOAP capabilities for Rails, Tilkov stressed.Still, Tilkov likes REST. "I'm a very big REST fan, and I [advocate] the use of REST whenever I can," he said.WSF/Ruby 1.0 binds WSO2's Web Services Framework for C into Ruby to provide an extension based on three Apache projects. These include: Axis 2C, which is a Web services runtime to support REST and SOA; Sandesha/C, supporting WS-Reliable Messaging; and Rampart/C, for WS-Security capabilities.Also, WSF/Ruby 1.0 uses Ruby on Rails as its deployment model for providing services.Client and service APIs are offered. Support is featured for SOAP 1.1 and SOAP 1.2. The software is interoperable with Microsoft .Net, the WS02 Web Services Application Server, and other J2EE implementations. SOAP Message Transmission Optmization and WS-Addressing capabilities are included as well.Downloadable here, WSF/Ruby 1.0 is offered under the Apache License 2.0. While it is free, WS02 does sell development and production services as well as training for it. Production support prices start at $2,000, while development support begins at $2,500 for 10 hours. Training costs $400 per day per person with a minimum of five persons required.WSO2's long-term strategy includes allowing scripting languages like Ruby, Perl, and PHP (Hypertext Preprocessor) to participate in an enterprise SOA.
172922
Medical software developer uses Web services to answer the call to do more with less.
68341
Mike Naberezny has posted a few more articles to the "Rails for PHP Developers" website (based on this book) covering some more of the basics.  There's three new tutorials posted:  Ruby Block Scope - the basics of Ruby block scope, a common point of confusion for PHP developers new to Ruby.  Variable Arguments - an article that shows two common API patterns found in Rails, variable arguments and option hashes, and how to implement them both in PHP.  Regular Expressions in Ruby - a useful reference that maps all of the common PHP regular expression functions to the equivalents in Ruby.    Check out the rest of the site for even more great content.
350288
Well, according to Soledad Pendaes, PHP will never have a (real) Rails-like framework because of some of the limitations with objects inherent to the language.   I know the title is harsh but it's so true. At least it is according to nowadays php's implementation of classes and objects, which do not permit to "reopen" and add or redefine new methods to an existing class definition, which is the basis upon Rails (and I presume lots more of applications and frameworks) is built.   The post goes on to talk about they "why" behind the statement - basically that this kind of functionality makes it easier to "Extend. Morph. Adapt. Improve. Refine." your applications. He talks some about other frameworks that have tried to offer the same kinds of functionality Rails does (CakePHP and Symfony) but notes that they still have their limitations (in specific, mentioning CakePHP's AppModel functionality).