Linux SoftwareProgrammingLibrariesGarden 0.5.0

Garden 0.5.0



Developer:   Tomas Varaneckas
      more software by author →
Price:  0.00
License:   The Apache License 2.0
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Garden is a dependency injection for PHP5.

Inspired by Spring Framework, it uses XML application context with syntax as similar as possible to Spring context definitions.

Kickstarter

Create example.xml file like this (don't forget to put garden-beans.dtd next to it!):

< ?xml version="1.0" encoding="UTF-8"? >
< !DOCTYPE beans PUBLIC "-//GARDEN//DTD BEAN//EN" "garden-beans.dtd" >
< beans default-lazy-init="true" >

< bean id="dog" class="Dog" file="ext/Dog.php" >
< property name="collar" >
< ref local="dogCollar"/ >
< /property >
< /bean >

< bean id="dogCollar" class="Collar" file="ext/Dog/Collar.php" >
< property name="spiked" value="true"/ >
< /bean >

< /beans >

etx/Dog.php contains:
class Dog
{
private $collar;
public function setCollar($collar)
{
$this->collar = $collar;
}
public function getCollar()
{
return $this->collar;
}
}

etx/Dog/Collar.php contains:
class Collar
{
private $spiked;
public function setSpiked($spiked)
{
$this->spiked = $spiked;
}
public function getSpiked()
{
return $this->spiked;
}
}
tags public function  php contains  etx dog  collar php  contains class  dog collar  return this  this collar  this spiked  class collar  class dog  true bean  beans dtd  

Download Garden 0.5.0


 http://garden.clawphp.org/garden-current.tgz


Authors software

Claw 0.4.0.148 (by Tomas Varaneckas)
Claw framework provides a convenient and intuitive way of developing PHP5-driven object oriented Web applications.

Claw project al

Garden 0.5.0 (by Tomas Varaneckas)


Similar software

Garden 0.5.0 (by Tomas Varaneckas)

Template::Tutorial 2.15 (by Andy Wardley)
Template::Tutorial are template toolkit tutorials.

This section includes tutorials on using the Template Toolkit

MathML::Entities 0.13 (by Jacques Distler)
MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

SYNOPSIS

use M

Spring IDE for Eclipse 1.3.6 (by Torsten Juergeleit)
Spring IDE for Eclipse project provides Eclipse plugins to ease working with Bean Factory configuration files for the Spring Framewor

dao-zero 0.4.1 (by Yiting Qiang)
dao-zero is a tiny Java bean used to reduce the source of a persistence tier based on Spring's iBatis support

sixbs 1.12 (by Hendrik Schreiber)
sixbs is a library capable of writing and reading beans to and from XML using their public properties

JaxMe 0.5.2 (by Jochen Wiedmann)
JaxMe project is an open source implementation of JAXB, the specification for Java/XML binding.

A Java/XML binding compiler takes

Secure FTP Bean 2.5.6 (by Glub Tech, Inc.)
Secure FTP Bean allows FTP connections to be made over SSL.

Secure FTP Bean is a Java library that allows a developer to incorpora

ISQ 0.1b (by Francesco Stealth)
ISQ (I Ask You) is a tag extension library that helps you to make HTML forms.

Inspired by the "input" tag of The Apache Software F

Database Bean Generator 2.1.0 (by Josep Carles)
Generator is an command line application written in java that have the goal to make easy the construction of little applications that


Other software in this category

zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

libjpeg v6b (by Independent JPEG Group)
libjpeg is a library for handling the JPEG (JFIF) image format

OpenSSL 0.9.7c (by The OpenSSL Project Team)
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

GNU C library is us

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags