OpenStack.org: RackSpace Open Sources Their Cloud Services Platform, And Gets NASA On Board

Hosting company RackSpace is open sourcing the software behind its cloud storage and computing platforms on Monday, the company is saying. The company is also preparing to launch OpenStack, an open source cloud platform, and will donate the open source code to that project.

NASA is also incorporating technology from the NASA Nebula Cloud Platform into the OpenStack project, says RackSpace.

RackSpace says they want to drive interoperability in cloud services to avoid vendor lock-in, and help create industry standards. More than 25 companies have shown interest in the project, says RackSpace, or are actively working on the code. They include AMD, Citrix, Cloud.com, Cloudkick, CloudSwitch, Dell, enStratus, FathomDB, Limelight, Nicira, NTT DATA, Opscode, Peer 1, Puppet Labs, RightScale, Riptano, Scalr, Sonian, Spiceworks and Zuora.

The code is being released under the extremely flexible Apache 2 license, meaning third parties can redistribute the code, build proprietary software around the code, and distribute it with few restrictions.

Complete Doctrine 1.2x Integration with Zend Framework 1.10+

To achieve complete Doctrine 1 integration with Zend Framework some glue is required, Benjamin Eberlei has created a complete solution thats straight forward, easy to use and understand.

This project tries to offer a complete Integration of Doctrine 1 with Zend Framework. The following components belong to this Integration:

  • Zend_Application Resource
  • Zend Framework Modular Project Support
  • Zend_Tool Provider for Doctrine Model Generation, Migrations and Fixtures
  • Zend_Paginator Adapter for Doctrine Queries
  • Dynamic Zend_Form generation from Doctrine Models

This integration requires the latest Doctrine version 1.2.2 to work completely

Get it!

SVN Export or Externals

Github offers SVN Read support for a while now, you can either use svn export or svn:externals to include ZFDoctrine into your project or into your PHP Include Path.
svn checkout http://svn.github.com/beberlei/zf-doctrine.git

Git Clone

git clone git://github.com/beberlei/zf-doctrine.git
If you follow the tutorial and installation steps your will get this in ZFTool.

Zend Framework Command Line Console Tool v1.10.4
Actions supported by provider "Doctrine"
Doctrine
zf create-project doctrine dsn zend-project-style library-per-module single-library
zf build-project doctrine force load reload
zf create-database doctrine
zf drop-database doctrine force
zf create-tables doctrine
zf generate-sql doctrine
zf dql doctrine
zf load-data doctrine append
zf dump-data doctrine individual-files
zf generate-models-from-yaml doctrine
zf generate-yaml-from-models doctrine
zf generate-yaml-from-database doctrine
zf generate-migration doctrine class-name from-database from-models
zf excecute-migration doctrine to-version
zf show-migration doctrine
zf show doctrine

Read it ALL at beberlei’s zf-doctrine at master – GitHub.

Understanding the stack index for Zend Framework Controller plugins

Simon R Jones writes a very helpful article about the stack index (the order you fire plugins) and how to customize it;

Zend Framework Controller plugins are a powerful way to inject logic into your controller system at various points, such as before and after an action dispatch. Plugins are run in the order they are added, though it is possible to change the order by defining a custom stack index. ZF internal plugins such as Zend_Controller_Plugin_ErrorHandler, which displays a nice Error 404 page, has a stack index of 999 to ensure it runs at the end of any plugin cycle. However, it’s not so obvious from the ZF manual how to set a custom stack index.

For example, you may have a common admin system layout that does various things to your admin page layout before the page is displayed…

more at simon r jones.

Using Different Databases with Zend Framework 1.10.4+

Jeroen Keppens wrote a very good article about using multiple databases that I defenitely found very useful;

A while ago I wrote about a custom application resource for loading multiple DBs. I received a lot of questions and decided it was time for a follow-up on how to use multiple DBs in ZF.

One of the first experiments I did with Application Resources was writing a application resource for loading multiple databases. We generally connect to multiple databases in reporting applications or in scripts where we want to aggregate data from the main database to an offsite database. Since that post I received a lot of questions on how to integrate this in the models and how to join different databases in queries using zend framework. In this post I’ll explore how to do both. Since in the meantime someone has used the idea and added a multiple db resource to the Zend Framework, I will use the “official” application resource loader instead of my own.

This tutorial was made with Zend Framework 1.10.4.

via Jeroen Keppens

OxyBase v1.0.0 – it is an active project!

In one of Zend Framework mailing lists, people were wondering if this project is live, so answer is yes – we are live and this is active project. Actually we are preparing v1.0.0 which will have the same features set OxyBase has now, but in addition to that we are adding something that in PHP world is not used widely but I think it will be. I was implementing those technologies in my current project at work with my team and I wanted to test it first before creating and publishing anything. Because then it would be only theory-based-components that would fail in real world.

What I am talking here about is CQRS architecture, DDD approach, Event Sourcing. These are pretty new things and specially in PHP world, and I think we are those – maybe first ones who does it in PHP.

In new release OxyBase will have components that will help you to use those technologies, to speed up development and generally to create better quality software. Exact new features:

  • Framework for the CQRS architecture’s read side
  • Framework for the CQRS architecture’s write side
  • DDD, domain models base classes that will provide functionality for Event Sourcing
  • Bounded Context infrastructure components code generator, you will focus ONLY on the domain model, all the rest will be generated by OxyBase
  • Improved domains logic (from v1.0.0 domains are called bounded contexts aka sub-systems)
  • We will integrate external tools that will be used to handle database changes
  • We will include so called build scripts that are used for application deployment and you will be able easily customize those for your own needs

And much more, like documentation, samples etc.

Now one thing that I want to say is that with this release we are focusing on big projects with complex business logic. If you are looking for framework to build simple websites, this is not what you are looking for.

Release date is not set, but we plan to have it at the end of this summer.

I really hope you will enjoy using it as much as I enjoy it now in my daily work.

via OxyBase.

Zend Framework 1 and Doctrine 2 integration – modular setup

Elink Media posts a followup;

I’ve created a new branch on my Github project “zf1-doctrine2″. The “modular_setup” branch shows how we could setup Zend Framework with the modular approach, while still be able to use Doctrine 2 as the ORM for each module.

Oh well, the idea is to make each module decoupled with the rest of the application, so really, you could use whatever database handling mechanism in each module.

Check it out from my Github project here.

Reference

via Zend Framework 1 and Doctrine 2 integration – modular setup.