Newsflash

Windows Vista took longer to arrive than hoped, and it might not have everything that was once planned, but Windows chief Jim Allchin maintains "It's a big deal."

And, more than five years after the debut of Windows XP, Vista is finally ready--at least, for businesses willing to buy at least five copies of the operating system. Those companies can get it starting Thursday, while consumers and those looking to get a Vista-equipped PC will have to wait until January.

For those who have been tuning out all the Vista chatter for the last few months, here's a primer on the new Windows. The update has security improvements, some snazzy new graphics and new desktop-searching abilities, among other features.

So is Vista really here?
After months of issuing community preview versions, beta versions and release candidate versions, Microsoft has finally declared Vista soup.

Large businesses can start getting Vista through volume-licensing contracts as of Thursday, while CompUSA is selling licenses to smaller businesses that purchase at least five copies of Vista. However, consumers and those looking to get new PCs with Vista installed will have to wait until the mainstream launch in January.

What if I buy a new PC now? Will it still run Vista?
Microsoft is offering an "Express Upgrade" program that runs through early next year. It offers those who buy an XP machine now a free or discounted copy of Vista, once it starts shipping to consumers.

There's still the question of how Vista-ready the PC is. Microsoft is using two logos to help consumers get a sense of that. Some machines are billed as "Windows Vista Capable." A PC with that logo will be able to run Vista, but that sticker does not guarantee the computer will have enough graphics horsepower and other components needed to run all of the operating system's new features. Those who want to guarantee that should look for the shiny "Vista Premium Ready" logo.

So what's in this Vista thing?
Vista--which used to be called Longhorn--has evolved quite a bit since Microsoft first demonstrated an early version in 2003. The company has dropped plans to include its all-new WinFS file system. It has also changed the way it's implementing a new Web services architecture, known as Indigo, and a new graphics engine, dubbed Avalon.

Among the key features of Vista as it currently stands are: security enhancements, a new searching mechanism, lots of new laptop features, parental controls and better home networking. There will also be visual changes, thanks to Avalon, ranging from shiny translucent windows to icons that are tiny representations of a document itself.

On the business side, Microsoft said Vista will be easier for companies to deploy on multiple PCs and that it will save costs by reducing the number of times computers will have to be rebooted.

Vista includes antispyware tools, Internet Explorer 7, an update to its Web browser, as well as Windows Media Player 11. It also has Windows Calendar, a new systemwide tool designed to do for datebook information what Outlook Express does for e-mail in Windows XP.

Is that all?
No. Among the other features Microsoft has publicly confirmed are: broad IPv6 support, improved clientside caching of data stored on a server, whole-volume encryption, a revamped synchronization engine, the ability to support laptops with an auxiliary display, automatic hard drive optimization and a secure boot-up process that helps prevent someone from gaining access to your data if your PC is lost or stolen.

Will my PC run Vista?
That depends on how recently you bought it and just how much Vista you want. To get the basics, like the new search abilities and improved security, you'll need a PC with 512MB of memory, an 800MHz processor and a 20GB hard drive with at least 15GB of free space. But to see Vista in all its glory, particularly its new Aero graphics, you'll really need a relatively modern video card with around 128MB of dedicated graphics memory or, for a system with shared systems and graphics memory, you'll need 1GB of memory.

 
powered_by.gif, 1 kB

Home
Ruby on Rails review PDF Print E-mail
Written by Administrator   
Tuesday, 12 June 2007

Ruby on Rails is a web application framework, released in 2004, that aims to increase the speed and ease with which database-driven web sites can be created and offers skeleton code frameworks (scaffolding) from the outset. Often shortened to Rails, or RoR, Ruby On Rails is an open source project written in the Ruby programming language and applications using the Rails framework are developed using the Model-View-Controller design pattern.

High Productivity and Reduced Development Time
At the feature level, Ruby on Rails doesn't offer anything new. Existing web application frameworks have done it all before. What's the big deal, then? The difference lies in how Ruby on Rails does it. When you can finish simple web apps in days instead of weeks and more complicated web apps in weeks instead of months, people notice!

This newfound attention would be short-lived if the resulting web apps were messy and hard to maintain or extend. Fortunately Ruby on Rails actually facilitates good programming practices, which leads to well-factored and easily maintained code.

The attention would also be short-lived if Ruby on Rails had no depth--that is, if once you tried to use it for anything beyond the simplest of web applications, you suddenly found yourself hitting a wall, unable to proceed due to inherent limitations. Experienced developers who know their way around the Web have repeatedly reported that this is not the case with Rails. For example, Tomcat, Ant, and the Servlet API author James Duncan Davidson recently wrote:

Rails is the most well thought-out web development framework I've ever used. And that's in a decade of doing web applications for a living. I've built my own frameworks, helped develop the Servlet API, and have created more than a few web servers from scratch. Nobody has done it like this before. That's not to say they got it all right. It's by no means "perfect". I've got more than a few nits and picks about how things are put together. But "perfect" isn't the point. The point is that it gets you up and going fast and has plenty of depth to keep you going. And Rails does that very well.

It may be hard to believe that this is possible without a significant downside. Fortunately, you don't have to take my word for it (or anyone else's). You can easily prove it to yourself in a day or less by going through a Ruby on Rails tutorial and then developing a modest web application of your own choosing. After all, seeing is believing! If you don't want see yourself be amazingly productive, you can always watch someone else do it in the new Rails video.

How Does Rails Do It?

Like a good recipe, Rails helps you achieve this new level of productivity by combining the right ingredients in the right amounts. Here are a few of the most important ingredients that make Rails what it is.

Ruby

Much of the power of Rails comes from the Ruby programming language. Ruby's unique design makes it easy to create domain-specific languages and to do metaprogramming. Rails takes full advantage of this.

Full-stack MVC framework

Rails is an MVC (model, view, controller) framework where Rails provides all the layers and they work together seamlessly. Other frameworks often implement only part of the solution, requiring the developer to integrate multiple frameworks into the application and then coerce them into working together. (For example, a Java developer might use Hibernate, Struts, and Tiles to get full MVC support.)

Convention over configuration

Convention over configuration means an end to verbose XML configuration files--in Rails, there aren't any! Instead of XML sit-ups, a Rails application uses a few simple programming conventions that allow it to figure everything out through reflection and discovery. For example, Rails uses intelligent reflection to automatically map database tables to Ruby objects. Your application code and your running database already contain everything Rails needs to know.

Less code

Following the simple Rails programming conventions does more than just eliminate the need for configuration files. It also means that Rails can automatically handle myriad lower-level details without you having to tell it to do so. This means that you write fewer lines of code to implement your application. Keeping your code small means faster development and fewer bugs, which makes your code easier to understand, maintain, and enhance.

Generators

Rails' use of runtime reflection and metaprogramming eliminates much of the boilerplate code that you would otherwise have to create. You can often avoid what little boilerplate code remains by using the built-in generator scripts to create it for you. This leaves you with more time to concentrate on the code that really matters--your business logic.

Zero turnaround time

The typical development cycle for testing a change to a web app has steps such as configure, compile, deploy, reset, and test. This is very time consuming. The Rails development environment has none of this. You simply make a change and see it work. Don't make the mistake of dismissing this as a minor point. It's hard to overstate how much this improves productivity and helps you maintain a creative flow without interruption.

Scaffolding

Rails can automatically create a full set of CRUD (Create, Retrieve, Update, and Delete) operations and views on any database table. This scaffolding can get you up and running quickly with manipulating your database tables. Over time, you can incrementally replace the generated CRUD operations and views with your own--presumably much prettier and more functional.

 

Last Updated ( Friday, 16 November 2007 )
 
< Prev   Next >
© 2008 Kanakgold.com - Software Consultants - PHP Experts - Offshore software development
Joomla! is Free Software released under the GNU/GPL License.