PHP framework for the rest of us

part 2: working with models

as promised, orchid comes with real flexibility which lets you design your application in less time. in orchid, there is a nice active record object which helps you to interact with your database very easily. beside that, you can also write your own model class to facilitate comples business logics and operations. in this installment, […]

part 1: getting started with orchid

today i was planning to start the documentation of orchid framework for the rest of us(?). so this one is the first installment of this series. you will find small tutorials everyday. just stick with the series and you will see how far we can fly you. time to get high [please note that […]

Creating a basic App with Orchid

Ok, lets try to create baby out of orchid
Take her at your place for date:
Copy the orchid folder to a location of choice where you like to host the app.
Make sure she is vergin
There should not be any app folder inside the orchid folder. If any, remove it.
Get inside of her, make […]

Update

Recently we have added http object, blueprint css framework and RSS reader and writer class in orchid. Due to having some complexity, we decided to add support of open id in next stable release.
The project is running under heavy documentation. You can expect a beta very soon
If you are interested to take part […]

New Addition - http object

We have added a new object in orchid framework. This is an object to help you manage all remote operations (over HTTP) extremely easier. This is a wrapper of HTTP class that uses either cURL or fsockopen to harvest resources from the web. It supports a handy subset of functionalists of HTTP that are mostly […]

Domains Taken

Two domains for orchid is taken today. They are
1. www.orchidframework.net
2. www.orchidframework.com

We are planning to integrate OpenId and BP

Not both of them are in same group. OpenID is one of the most successful single sign on solution for open source developers and BP is Blueprint, a really nice CSS framework.
We are planning to bundle both of them in orchid in next release. Needless to say, BP will work as an optional choice for […]

Using Models

Not a big deal in Orchid. If u have a table named “users” in your mysql database with the following structure, you can interact with it like this.

CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(250) DEFAULT NULL,
`password` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM

Here is how […]

Writing Inline Unit Tests in Orchid

Writing inline unit test makes it painless and hassle free. Orchid comes with a bundled unit test library which you can take full advantage of. Have a look at the following code to understand how to write your unit tests. No more “setup” and “teardown” for you
Lets consider your controller is app/controllers/ut.php

<?
class ut […]

Caching in Orchid is Easy

Caching is one of the built in core features in orchid. Orchid supports three types of storage engine for orchid which are SQLite, MySQL and Memcache. You can take advantage of either one depending on your requirement. Lets have a look at how to work with caching engine in Orchid.
1. Setup configuration file
if you […]

« Previous Entries  

Calendar

July 2008
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031