Posted by vippan on May, 4th 2012
Zend and IBM have recently released Zend DBi, a build of the MySQL database for the IBM i platform. With strengthened and expanded collaboration between Zend and IBM, Zend DBi is now available as a 100% compatible drop-in replacement; and Zend, the PHP Company will maintain and distribute it. Compiled to run on IBM i platform, it will evolve with the IBM i community's needs.
Further reports from Zend suggest that Zend DBi erases any uncertainty about the future of IBM i as a supported MySQL platform: it's built using the same open-source code used to build MySQL, and will be kept up to date by Zend and IBM with all features and bug fixes introduced in MySQL. As part of the enterprise-ready PHP technology stack for IBM i, Zend DBi allows users to leverage open and industry standard solutions, while keeping their web and mobile workloads on existing IBM i systems where databases, business logic, and legacy applications reside.
Zend DBi, along with the DB2 Storage Engine from IBM, will be shipped with Zend Server for IBM i and it is also available for free download as a standalone package. Commercial support for Zend DBi will also be available.
In fact, Zend products have already been used to build and run thousands of PHP business-critical applications worldwide.
Posted by vineet on May, 2nd 2012
ZendCon 2012 Call for paper is now open. Come and speak at this Premier PHP Conference to share your experiences and learn from the rockstars of the PHP world.
To be held in Santa Clara, USA, October 22-25, 2012, this globally recognized PHP conference presents a great opportunity for developers, architects, development managers, decision makers, core PHP developers and community members to exchange their knowledge and expertise with the large PHP community. 
The conference is looking for the best speakers to share their expertise under one roof. The key themes for this year’s ZendCon are:
- PHP in 2012
- Zend Framework 2
- Development & The Cloud
ZendCon, 2012 is open to any new and unique content. Submissions will be accepted for both 3 hour tutorials and 60 minute sessions; and please do submit more than one talk if you have a lot to say.
Within the themes, there are several topic areas that would be beneficial to the attendees.
- Application and infrastructure best practices/case studies
- Testing, debugging, profiling and QA
- Framework-based development
- Zend Framework 2
- Cloud-based services and cloud-based development
- Server and cloud-based infrastructure
- RIA, mobile and browser
- Databases, storage and data modeling
- Security
- Unsung Tools
- Agile processes and project management
- PHP on the IBM i
This 8th edition of ZendCon promises to be an exceptional venue to meet peers, engage innovative companies and take up unique networking opportunities.
Did I forget to mention that accepted speakers will have round-trip airline travel arranged and paid for by S&S Media, the conference organizer. Speakers will also be provided a complimentary hotel room for 1 night and will receive an additional complimentary night for each presentation or tutorial given (up to a maximum of 6 nights).
The Call for Papers closes on May 21st, 2012, so start submitting now at www.zendcon.com/input.
Join with a great lineup this year for an awesome learning opportunity!
Posted by brian on February, 16th 2012
Austin PHP Monthly Meetup, held on Feb 09, 2012, was my first major PHP event I attended this year. At the meetup, I had the privilege to meet an excellent group of PHP enthusiasts and programmers. The group had more than 50 attendees came from a wide range of background to share their knowledge and ideas.
The main agenda of this meetup was PHPCloud/DevCloud, Zend Studio where the participation of Zend was the major attraction. Kevin Schroeder, Technology Evangelist for Zend Technologies, gave some great demos on Zend Studio deploying apps on the PHPCloud. Kevin had spoken at several conferences (including ZendCON of course) and is also the co-author of “The IBM i Programmer’s Guide to PHP” and author of “You want to do WHAT with PHP?”
He also illustrated the debugging capabilities of Zend Studio 9.0 through demos. I took it as a great opportunity to take a more in-depth look at PHPCloud, Zend Studio 9 and more!
The conversations carried were interesting, each individual seems to have a good story/background, and I even learned a thing or two!
It was a nice experience meeting with good mix of bright and experienced people and sharing dialog with them. I thoroughly enjoyed meeting with great group of PHP programmers. The response of attendees was awesome and overall this is an excellently run and organized meetup.
T-shirts and stickers were also given away to attendees and I really had good time with enthusiasts folks and great topics !!!
To those who are not familiar with this group, here is a quick brief
Austin PHP Meetup is a great group of folks interested in developing with PHP in the Austin, Texas area. For last 8 years, this meetup has been organized to provide PHP users an opportunity to teach and learn. Austin PHP is now the fifth largest PHP Group in the world.
This meetup is a great platform for PHP users new and old where they can gain insights on PHP and network with their peers.
Visit this link http://www.meetup.com/austinphp/ to stay updated on upcoming Austin PHP meetups.
Posted by vippan on December, 5th 2011
OSSCube, co-organizer of OSI Days, thanks all of you for making OSI Days, 2011 such a success. We are delighted that this 8th version of Asia’s mega convention, held at Bengaluru on Nov 20-22, 2011, is one of the best OSI Days events we have had...! Over 2,000 people and 100+ sessions across three days and that’s the proof that the event was greatly accepted by open source enthusiasts.
This year the conference had a very good feel with varied interesting, exciting sessions and workshops. Hope, attendees would not find conflicted over which session to attend, as there were too many interesting topics running simultaneously!
The conference snarled from OSI, PHP, Kernel to Data Days in three Audis and 3 MRs aimed with providing quality content and empowering the open source lovers. There were discussions from FOSS for everyone, Open Source for developers to Open Source for CIOs covering areas of PHP, Kernal, Database and Mobile technology that were conducted by eminent national and international experts.
The presence of Microsoft and Oracle at OSI Days was the proof that they are seeing great opportunities in Open Source. The answer was available in the keynote presented by Gianugo Rabellino, senior director, Microsoft Corporation, USA. “Microsoft is more open than you may think, and we want to show the interoperability and openness between Microsoft and non-Microsoft platforms,” he explained. He spoke about how the software giant has decided to be more open in the mobile, server, cloud and client space.
From commercial prospective, the session on how to make money from free open source software was the best example that explained commercial viability of Open Source. Speakers like Gil Yehuda (Yahoo! Inc), Rohit Kumar Rai (EnterpriseDB) and Ryusuke Kajiyama (Oracle) cited examples on how an organization can create revenue models by using, developing or supporting open source.
For PHP enthusiast, the conference was absolutely amazing to grasp the PHP best practices. Around 23 sessions on PHP really served their purpose of giving attendees incitation towards PHP. In addition to sessions, Keynote by Zeev Suraski, Co Creator of PHP and Co Founder of Zend was major attraction for PHP enthusiasts.
The event included presentations on Web development, mobile development, database and kernel development, etc. such as ‘Extending SugarCRM for Building a Large Scale Federal Level Application’ by Ben Schooley and Sue Feldman of SmartWorks; ‘Linux on Hyper-V– Our Journey Through The Linux Staging Tree’ by Dr. K Y Srinivasan, Microsoft Corporation; ‘NewSQL: For 'SPRAINed' DBMS’ by B V P Vamsi Krishna, S Nirmala and R Prasanna Venkatesh of Huawei India, and so on.

Above all, hands-on workshops were the crux of the event. Workshops on ‘Cloud Foundry’ by VMware, ‘openLDAP and HA Clustering on RHEL5’ by Keen and Able Computers, ‘MySQL’ by Oracle, ‘Leaner Techniques for Faster Portals—Get Drupalled’ by AZRI Solutions, 'Doctrine 2' by Juozas Kaziukenas, founder and CEO of Web Species Ltd, and many others were packed with really great content.
It is without a doubt that attending these sessions gave a great chance to attendees to meet some great experts which otherwise may not have had the opportunity. The ambience was awesome; the speakers were of international standard and truly were experts in the field.
The following are some of the tweets of speakers and attendees:




As we all know more and more companies are adopting Open Source. Cloud computing is transforming the industries. Mobile services are growing unprecedentedly, blazed by Android and iPhone. APIs are growing vigorously. So, events like OSI days is a great platform for sharing and absorbing viable and successful models for managing and steering businesses.
And to continue to strengthen open source ecosystem, OSSCube leave you with a promise of bringing in a fresh dose of stuff in OSI Days, 2012. You can check all the OSI Days photos at Flickr.
Posted by peter on September, 9th 2011
Last time we looked at the scope possibilities for class a properties. In part 3 of our OOP PHP blog series, we will be looking at inheritance. Inheritance is an approach in PHP programming that allows for the extension of a class in order to add more functionality to an existing class. There is also the option to override existing functionality and replace portions of the class if so desired.
In our example code for creating HTML tags we are going to extend our basic class that only has three methods, we will be adding three more methods, we will be using the existing constructor method from the parent class (html), and we will override the pageFooter method.
In order to inherit a class you need to use the “extends” keyword. Note that a single class can only extend one other class at a time, there is no limit to the inheritance chain, practicality however suggests no more than five inheritances in a chain, otherwise the length of the chain becomes hard to navigate and manage. Also note that all of the public and protected methods (this will be covered in part four of our blog series) are inherited in the subclass and unless they are overridden they retain their original functionality as if the code for those methods were actually in the subclass.
So we are first going to extend the HTML class to a new class called moreHTML. We can do this in the same class code file if we want or we can do it in its own file. Just make sure the “require” statements are in the right order; here's our new code (our original html.php.inc file has not changed so I am not re-listing it here):
// filename: more_html.php.inc
class moreHTML extends html {
private $tag;
private $textString ;
function pageFooter() {
$textString = '\n<hr/>';
$textString .= html::pageFooter();
return $textString;
}
function Anchor($url, $link, $name="", $class="", $id="", $title="", $style="", $onTypesActions="") {
$this->tag = '<a ' ;
if ($url) { $this->tag .= 'href="' . $url . '" ' ; } else { $this->tag .= 'href="" ' ; }
if ($name) $this->tag .= 'name="' . $name . '" ' ;
if ($class) $this->tag .= 'class="' . $class . '" ' ;
if ($id) $this->tag .= 'id="' . $id . '" ' ;
if ($title) $this->tag .= 'title="' . $title . '" ' ;
if ($style) $this->tag .= 'style="' . $style . '" ' ;
if (!Empty($onTypesActions)){
foreach($onTypesActions AS $type => $actoin) {
$this->tag .= $type . '="' . $actoin . '" ' ;
}
}
$this->tag .= ">" ;
$this->tag .= $link ;
$this->tag .= "</a>" ;
return $this->tag ;
}
function Spacer($spaces = 1) {
$this->tag = "";
for ($i=1 ; $i <= $spaces ; $i++) {
$this->tag .= " " ;
}
return $this->tag;
}
function NewLine($number = 1) {
$this->tag = '';
for ($i=1 ; $i <= $number ; $i++) {
$this->tag .= "\n<br/>" ;
}
return $this->tag;
}
} // end moreHTML class definition
Notice that our newly extended class does not have a __constructor method at all, it merely inherits that from the parent; this is equally true for the image method. Also notice that we are over-riding the pageFooter method by adding in an <hr> tag to signify the bottom of the page and then we are calling the parent method with the :: notation, to leverage that existing code. Our code to use these classes would look something like this:
require_once("html.php.inc");
require_once("more_html.php.inc");
$myHTML = NEW moreHTML("Testing page build 3");
$output = $myHTML->Anchor("http://php.osscube.com", $myHTML->image("images/clock.jpg")) ;
echo $myHTML->NewLine() ;
echo "the current value of label: " . $myHTML->Spacer(3) . $myHTML->label . $myHTML->NewLine(2) . "\n";
$output .= $myHTML->NewLine(2) ;
$output .= $myHTML->pageFooter();
echo $output;
Notice here that I am using a method call as the 2nd parameter to the anchor method; this is a neat technique that can be used when attempting to use methods that are inter-related. As well, I have the choice (depending on how the methods are actually written) to either build the $output variable and then echo that out when I want, or to echo method calls directly to the browser. See too that I am using our two new methods in the inherited class called NewLine and Spacer. When the above code is executed you will see the following content on a browser:

And you should see the following in your revealed source code:
<HTML>
<HEAD>
<TITLE>Testing page build 3</TITlE>
</HEAD>
<BODY>
<br/>the current value of label: this is my label
<br/>
<br/>
<a href="http://php.osscube.com" ><img src="images/clock.jpg" /></a>
<br/>
<br/>
<hr />
</body>
</html>
In our fourth blog segment we will be looking at the scope attributes that can be added to methods, this will be similar in concept to scope attributes that can be added to properties of a class.
Posted by peter on August, 30th 2011
As President of our local PHP User’s Group (Atlantic Canada PHP User Group) it is my great pleasure to organize and plan our quarterly meetings. We have been operating for almost 3 years now and each July we have our social event. This year we added in a fun golf tournament as well. Luckily one of our regular members owns a cottage that is right beside a golf course, so we combined a barbeque supper event with the afternoon of golf.
We had 8 golfers with a few prizes gratefully supplied by Zend Corp. As the tournament organizer and event recorder, I traveled among the groups on a motorized golf cart taking pictures and poking fun at the rookies. The golfers had a great time and the threatening rain thankfully held off until the last hole was played by the last group. The golfers’ experience levels ranged from 2 first-time-ever golfers to a few who play on a regular basis.
The barbeque portion, as mentioned, was held at a user group member’s cottage – Great thanks to Brian Murray for allowing us the use of his wonderful facitlity!
Golf prizes were handed out before the food was prepared and the conversation ranged from golf stories, like how to accurately and skilfully place a ball 20 feet up into a tree (a picture is attached as proof!), to a debate over Objective C for use on developing for mobile devices, and to review the perceived value of attending a conference on the subject of YouTube.
Our next User Group meeting will be October 20th, so if you are in the area, please drop in to visit our group. Our website is here: acphpug.paladin-bs.com – sign up as a member and we will keep you well informed.
Posted by peter on August, 25th 2011
Last time we looked at a basic class definition that produced some HTML tags for us. In this second part we will take you further into some definitions of OOP as it stands in PHP; then we will build out our code example to prove our theories in practice.
The first thing to look at this time is the topic of scope in the sense of properties (defined variables) in a class. There are 4 basic scope levels, and they are:
| Public |
This is as it sounds – a property defined with this keyword can be accessed anywhere in your code once the class is instantiated. |
| Private |
This means that the property is only accessible from within the class. That would primarily mean only the methods defined within the same class. |
| Protected |
This is a little more flexible than private as it allows access to properties within a defined class and any descendant classes – classes that inherit from it. |
| Final |
This is a little different again in that properties defined in this way act similarly to the public definition except that they cannot be over-ridden in any descendant classes. |
So with these definitions let’s look at how we can make our html class a little better. Here we will build out our constructor method (refer to part one for explanation) that will allow every HTML class that we instantiate to have a basic web page structure. As well, we will add a pageFooter method that will allow us to close the generated web page with grace. There will be some sample properties defined here additionally to show you the differences between the scopes as described above.
<?php
// filename: html.php.inc
class html {
private $tag;
public $label = "this is my label:" ;
function __construct ($title) {
echo "<HTML>\n<HEAD>\n<TITLE>$title</TITlE>\n</HEAD>\n<BODY>\n" ;
}
function pageFooter() {
return "\n</body>\n</html>";
}
function Image($source, $id='', $class='', $title="", $style = '', $onTypesActions="") {
//Open an img tag and set it's image source
$this->tag = '<img src="' . $source . '" ' ;
//Set the class attribute
if ($class) $this->tag .= 'class="' . $class . '" ' ;
//Set the id attribute
if ($id) $this->tag .= 'id="' . $id . '" ' ;
//Set the title and alt attributes
if ($title) $this->tag .= 'title="' . $title . '" alt="' . $title . '" ' ;
if ($style) $this->tag .= 'style="' . $style .'" ';
if (!Empty($onTypesActions)){
foreach($onTypesActions AS $type => $actoin) {
// The following sets ON listeners and actions
$this->tag .= $type . '="' . $actoin . '" ' ;
}
}
// close the img tag
$this->tag .= " />" ;
return $this->tag ;
}
}
// end html class definition
?>Notice here, too, that we are using a variable called “$this”. That particular variable is a pre-defined entity in every class that is used to reference the class itself. It would be the equivalent to coding $html->tag except that we can’t use $html in the class definition because we can’t be sure of what variable will be used when the class is eventually instantiated.
NewPage.php
<?PHP
require_once("html.php.inc");
$myHTML = NEW html("Testing page build 2");
$output = $myHTML->image("images/clock.jpg");
echo "the current value of label: " . $myHTML->label ;
echo "<br /><br />";
echo "the current value of tag: " . $myHTML->tag ;
echo "<br /><br />";
$output .= $myHTML->pageFooter();
echo $output;
?>Notice here that we were able to access the publicly defined property of $label, but when we tried the same approach to $tag (the private class property) we got an error message like this if you have display_errors turned on:

Next time we will look more deeply into class definitions and how they can be extended with inheritance.
Posted by peter on August, 10th 2011
I used to attend conferences quite a lot in the 1990’s; in fact I was on the planning and speaker selection committee for the CA-Technicon conference for 2 years. OSCON is the first major conference I have been to since I really discovered and adopted the principles of the Open Source movement. So it was doubly important from my perspective to get to this conference. Additionally, I had started the next phase of my career only 3 weeks prior by taking a new senior consulting role with OSSCube and I had yet to meet my new “handlers”. And further still, being an O’Reilly author I was set to finally meet with some of my publishing companies main contacts; my editor Julie Steele being the main one.
So I climbed onto the airplane on a Monday morning after rising at 4:45am for a lengthy flight to Portland, Oregon – this would be the last time I saw my luggage for the next 4 days! The first flight leg was re-directed from its original destination due to bad weather, and what should have been a nice day of travel turned into a fiasco of delayed and re-directed flights.
I finally arrived in Portland and took the taxi to my hotel which was about 3 blocks from the convention center. Being 5 time zones from home it took me the better part of the day to get over the jet-lag, but I went out for a little walk to get my bearings and to register for the conference.
Portland, at least the parts that I saw, is a very nice and clean city, there are older parts of course but overall it is a pleasant town.
On to the conference: I spent most of my time helping with our company’s trade booth in the Exhibition Hall so I was only able to attend one half-day session. The presentations and facilities were among the best I have ever experienced. Although it did not really compare in size and scope to a CA-World conference, the overall ambiance and organization were paramount. The folks I met at O’Reilly and other people who stopped by our booth were of tremendous value. I met and talked with people from Disney, Netflix, TikiWiki, SugarCRM, CBC Radio (Canada), and the Jet Propulsion Laboratory, among many others.

Overall this is an excellently run, organized, and, delivered conference. The “fun” events like the O’Reilly Carnival night and the author’s appreciation reception were among the highlights. If you like collecting swag this is the place to be! Big name companies were here too in booth form: Facebook, Intel, ORACLE, Google, HP, RackSpace, Dell, EBay, The New York Times, and of course O’Reilly. I was actually quite surprised how many of the exhibitors were there looking to recruit new staff. If you are into or wanting to know about open source technologies this conference should be your first stop; they even had a Starbucks coffee shop in the lobby! Next year’s conference is already on the calendar: July 16th to 20th, 2012, same city, same convention center.
Posted by vineet on August, 5th 2011
The recently held OSCON 2011 Convention in Portland, OR was a fantastic experience for the OSSCube team. This conference gave me the opportunity to meet and speak with many technology evangelists around the world. I delivered a major presentation on SmartWorks Project (a federal level use system that OSSCube has helped design and roll out) during day two of the event while the, President Lavanya Rastogi and Head of Business Development & Customer Advocacy Vivek Agrawal alternated booth staffing duty and new business prospect meetings throughout the event. Our presentation was accepted so well by the audience and received some concrete feedback.

We had a well thought out and well designed booth Setup where our international team with mix of sales focus and technical expertise was present to support us. Our Partners ZEND backed us at the booth. Our case studies were quite a success and attracted the clients to visit us at the booth.

The Tuesday evening reception and two full days of exhibits on Wednesday and Thursday saw some 185 of the show’s delegates, almost 8% of the total, visit the OSSCube booth and interact with both our staff and our two guest authors, Kevin Schroeder and Peter MacIntyre, both of whom signed copies of their respective books and assisted us in educating delegates on the interrelationship of PHP, Zend and OSSCube. Several solid new and continuing business leads were developed at the show and are already being followed up.

We’re very likely to see some of these same delegates at our next stop, ZendCon, in mid October in Santa Clara, CA. We’ll share new opportunities from this show as they materialize.
Posted by vineet on August, 2nd 2011
OSSCube is p roud to announce that they are sponsoring ZendCon 2011, an event focused on PHP best practices and emerging new technologies. Taking place in Santa Clara, California on October 17-20, 2011, the conference will bring together PHP developers and IT managers from around the world to explore the latest developments on in PHP ecosystem.
OSSCube, the world’s first ZEND Center of Excellence for enterprise PHP and Product Development, aggressively supports open source focused conferences. The company also contributes regularly in open source technology by way of code contributions.
This 7th Annual Zend PHP Conference will feature renowned speakers, in depths tutorials and an exhibit hall featuring industry leaders where you’ll have both learning and networking opportunities. The conference is majorly focused on themes Cloud Computing, Mobile and User Experience, and Enterprise and Professional PHP.
At the ZendCon 2011, PHP enthusiasts will have great opportunity to:
- Explore PHP best practices for architecture, design and development
- Learn about the latest developments in PHP Cloud infrastructure, management and application services
- Discover new advances in the PHP language and how best to harness them
- Learn how to build engaging mobile apps with the latest PHP technologies and tools
- Explore new technologies like NoSQL and Cloud Computing
- Learn how to effectively leverage Zend Framework and the changes coming in ZendFramework 2.0
To know more about the conference, do visit http://zendcon.com/
About OSSCube, Zend Centre of Excellence:
OSSCub e has been consistently rated as one of the best PHP Solution providers in the world. ‘If it is PHP, we do it best’ has been the company’s credo since its inception and living up to this motto has made OSSCube the world’s first Zend Centre of Excellence, housing best of breed PHP expertise and development practices. By forging partnerships with leading open source technology/product providers like Acquia (Drupal), SugarCRM (Gold partner), and EnterpriseDB (Global SI Partner), OSSCube has enhanced its technological expertise and emerged as the ‘preferred partner’ for global corporations looking for outsourced product development engagements. And it has carved a niche for itself in the technology space by delivering innovative, on-time and cost-effective open source solutions to businesses globally through its delivery centres in USA, UK and India. Learn more at php.osscube.com.
Zend – The PHP Company
Zend Technologies is the leading provider of software and services for developing, deploying, and managing business-critical PHP applications for on-premise and cloud computing environments.
PHP runs more than one-third of the world’s Web sites and has quickly become the most popular language for building dynamic Web applications. Deployed at more than 40,000 companies worldwide, the Zend family of products delivers a comprehensive solution for supporting the entire application lifecycle.
|