Two domains for orchid is taken today. They are
1. www.orchidframework.net
2. www.orchidframework.com
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 […]
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 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 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 […]
Must be a good feature to many of you! We have bundled insanely famous SWFObject script with Orchid. The Final release will be shipped with it.
And adding SWFObject is just a method call away. In your view call
$app->jsm->addSWFObject();
We have added Google Chart API. We have used the excellent GChart Library developed by Malaiac and budled it with Orchid. After some basic modifications it started working fine. So GoogleChart Library will be bundled with orchid
Have a look at the controller
<?
class googlechart extends controller
{
function base(){
$gchart = $this->library->gchart;
$data = array(’01/12′ => 1245,’02/12′ => 895,
[…]
Here is the code I wrote in View file
<head>
<?
$map = $app->library->gmap;
$map->printGoogleJS();
$map->setMapType("satellite");
?>
</head>
<body>
<?
$map->addGeoPoint(23.700001,90.389999,"Dhaka");
$map->showMap();
?>
</body>
And added a google map API key in app/config/configs.php as
$configs[’google_map_api’]="api key";
And you can see the live demo of this one at http://javapark.net/hasin/orchid/gmaps
Just added a sample app which you can download from here
Download Sample App
You can also check the running online version at here
The core features of Orchid are the followings
1. Caching Engine with support of Memcache, MySQL and SQLite as Storage
2. MVC
3. RoR like Layout and segregated template components.
4. Partial Caching in Template
5. Very efficient object loading and dispatching
6. DAL for MySQL (Both MySQL and MySQLi), SQLite, PostgreSQL and MSSQL
7. Support for PDO
8. Builtin Unit Testing Library […]