censorshit.org

September 10, 2008

my friend just started a new blog at http://censorshit.org please check it out

if you already have a putty private ssh key and you want to use it with Cyber duck in SFTP mode, following is what you need to do:

1. Download and Install PuttyGen from here

2. Open your current private ssh key in puttygen.

3. From the menu, select export to openssh key and save it.

4. use above exported key in cyberduck.

Enjoy!

Symfony – ORM TDD DRY RDP

February 3, 2008

If you must use PHP for your web application, and you really a fan of the rails way.

Compare Rails and Symfony, read this blog i hear a symfony rails vs the symfony php framework 

Try out Symfony:

” Symfony is a web application framework for PHP5 projects.

It aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure.

The very small number of prerequisites make symfony easy to install on any configuration; you just need Unix or Windows with a web server and PHP 5 installed. It is compatible with almost every database system. In addition, it has a very small overhead, so the benefits of the framework don’t come at the cost of an increase of hosting costs.

Using symfony is so natural and easy for people used to PHP and the design patterns of Internet applications that the learning curve is reduced to less than a day. The clean design and code readability will keep your delays short. Developers can apply agile development principles (such as DRY, KISS or the XP philosophy) and focus on applicative logic without losing time to write endless XML configuration files.

Symfony is aimed at building robust applications in an enterprise context. This means that you have full control over the configuration: from the directory structure to the foreign libraries, almost everything can be customized. To match your enterprise’s development guidelines, symfony is bundled with additional tools helping you to test, debug and document your project.

Last but not least, by choosing symfony you get the benefits of an active open-source community. It is entirely free and published under the MIT license.

Symfony is sponsored by Sensio, a French Web Agency well known for its innovative views on web development.”

Here is the online version of Symfony Book,  if you want you can check the 1.1 version of the book, which will cover updates in upcoming 1.1.0 release.

PHPSpec is the first BDD framework for PHP, similar to RSpec in ruby. There are clear advantages of BDD over TDD suck as test against specification of behavior.

“PHPSpec is a simple framework. As the official description suggests you can write code examples which are repeatable. This means you write an example, and may repeat it as often as you wish to ensure the implementation code it relates to continues to abide by the example. PHPSpec is related to Unit Testing, but our Behaviour-Driven Development (BDD) origins determine we use a clear plain English style API. This API, given it’s fluent style and approximation of natural language is therefore referred to as a Domain Specific Language (DSL). At a deeper level, PHPSpec was designed entirely with BDD in mind. Though similar to Unit Testing, the framework is being designed to support BDD from the ground so that learning, understanding and practicing BDD is as easy as possible.”

Install PHPSpec

PHP Spec Document

PEAR does not come installed on Leopard by default, though it is very easy to install, check this blog article on Click on Tyler

Rails framework used YAML for all most any configuration files. In PHP, there is n official support for YAML, eve though there are support for INI, JSON and XML.The current release is 0.2.0 beta. Check out this great tutorial PHP meet YAML, and official Horde YAML website. 

Many people believe that “rubinius matters to Ruby’s future“. Ruby is still widely used as a scripting language that usually are interpreted, but projects like Rubinus a virtual machine and compiler for Ruby and YARV a new bytecode interpreter are transforming Ruby into a system programming language.

If you are interested in a detailed analyze of system and scripting programming languages, check out this “scripting: higher level programming for the 21st century“. It has some detailed explanations and comparisons, more importantly it predicted the rising of scripting language.

A language like Ruby empowers both of system and scripting programming languages will definitely have a promising future.

Follow

Get every new post delivered to your Inbox.