Please send any feedback on admin@ajaxline.com.
If you want to share your experience and post article on Ajaxline just e-mail it to us and we publish it.
Nathan Good post a new article in which he describes the following new features of upcoming PHP6:
Improved Unicode support
Namespaces
SOAP
XML
Also Nathan tells about things that will be removed from new version. You can read the full version of this article on the IBM developerWorks site.
Aaron Patterson started to work on the new Javasript library called Johnson that will replace RKelly. Aaron writes about this new project in his blog:
«Anyway, its time for me to write about this. RKelly is pretty much dead. For the past few months, John and I have been working on RKelly's replacement called Johnson. Basically we're now putting a ruby wrapper around Mozilla's Spidermonkey. The project is coming along quite nicely. Ruby objects can be passed in to javascript land, and javascript objects can be passed back in to ruby land.
For example, we can define an alert function in our javascript context:
require 'johnson'
ctx = Johnson::Context.new
ctx['alert'] = lambda { |x| puts x }
ctx.evaluate('alert("Hello world!");')»
You can read more in Aaron Patterson blog.
Dan Benjamin post an intresting article about Ruby language and the rails framew on A List Apart site. In this article he describes the some distinction of the RoR from the traditional languages like PHP. He writes:
«In this article, I’ll help prepare you for your first foray into Rails by explaining what it is, how it works, and where it fits into the spectrum of web development and design. I’ll address the issues above and more, with answers geared toward non-Rails developers, designers, and other creative professionals.
This article isn’t a Rails programming tutorial. We won’t be writing code here, but I will introduce you to some of the important concepts critical to understanding how the Rails framework functions. I’ll also explain what you’ll need to know to work with Rails developers and integrate your XHTML and CSS into Rails projects.
I’ll focus on the topics and issues that I’ve learned are most important for creative people instead of boring you with gruesome technical details. Yes, you’ll have to learn what terms like “MVC” mean, for example, but only in the context of getting stuff done.»
You can read the full version of this article on A List Apart site.
There is intresting series of articles posted on the Panasonic Youth site. In the chapter posted today you can read about goals of testings. Here's the small excerpt from this article:
«A couple weeks ago, I began a series on keeping your test suite fast and effective. I now am going to digress a bit, take a step back and view the big picture to establish context.
Theree is an intresting article about using the Open ID 2.0 in a Ruby posted on devX.com site by Ricardo Govoni. Here's the short table of contents of rhis tutorial:
Introduction
Connect Ruby to OpenID
Add Some Intelligence to Your Authentication System
Much More to Explore
You can find the full version of this article on a devx.com site.
Oliver Steele has created small but useful JavaScript Fu Plugin. This plugin intended for extending Rails with a few facilities to better integrate JavaScript into Rails development.
Here's the simple example of usage this plugin:
Ruby
page.onload do
page.call alert‘, ‘page loaded!‘
end
And here's generated output:
Javascript
$(document).ready(function() { alert("page loaded!"); });
You can download this plugin and read more about it on Oliver Steele site.
Geoff Bussing writes about time zones support in the upcoming Rails 2.1 release. He writes
«This will be the first of several posts I'll create about the new time zone features in the upcoming Rails 2.1 release. In this post, I'll give an overview of the new features, by walking through the setup of a new app.
I'll start with a fresh Rails 2.1 app created via the rails command. In 2.1, time zone support will be turned on by default in environment.rb, via the config.time_zone option:
# config/environment.rb
config.time_zone = 'UTC'
Martin Rehfeld writes about using Simple DB and Rails in No time with ActiveResource. Here's short table of contents of that you can read in this article:
Why Rails?
URL Maspping.
Special Attributes.
ID Hashing.
Pros & Cons.
Ryan Daggle start to document the following features of upcoming Rail 2.1:
Gem Dependencies
Dirty tracking with partial updates
has_finder in the form of named_scope
Built-in timezone support
Better caching infrastructure
Aaron Patterson released new implementation of Ruby language Aaron writes the following about implementation:
«am happy to annouce the first release of my new fork of Ruby called
Brobinius. The goal of Brobinius is to implement new language features
that I have noticed to be completely missing.
For example, Object#tase! The tase method is featured in many other languages
but is sadly missing from Ruby. Brobinius has a fully implemented tase! method.
>> x = Class.new
=> #<Class:0x3632ec>
>> x.tase!
Rob Sanheim starts new series of article about creating the fast test for Ruby codes. He writes:
There is a very useful PHP to Ruby Reference posted on a Rails for PHP Developers site. The authors of this reference writes:
«When you’re starting out with Ruby and Rails, often times you’ll know how to do something in PHP and need a way to map that knowledge into the Ruby world. For example, you might ask yourself, “What’s the equivalent of fopen in Ruby?”
Initially released in 2004, the Rails web application framework became the perfect killer application for the Ruby language and an extremely powerful tool for rapidly developing web applications based on the CRUD (Create, Read, Update, Delete) pattern. At the end of 2007, version 2.0 of the now popular web application framework was released.
There is a tutorial in DR. Nic blog about Javascript Unit testing for Rails 2.0. This tutorial contains lots of useful information on following topics:
Unit Testing
Prototype independence
Merb at al support
Alternate test suite support
Peepcode
There is intresting tutorial posted on a devX.com site about developing with Ruby on Rails and NetBeans. This aricle contains a lot of links and useful tips.. Here's a short table of content of this tutorial:
What You Need
Leveraging NetBeans 6.0 Ruby and Rails Support
Techniques for Efficient Rails App Deployment
Installing and Configuring the nginx Proxy and Web Server
