PHP Classes
elePHPant
Icontem

PHP Beans Brazilian Feijoada: Encapsulate several objects in one like Java Beans

Recommend this page to a friend!
  Info   View files Documentation   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-12-30 (7 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 114 This week: 5All time: 8,463 This week: 181Up
Version License PHP version Categories
beans 1.0Custom (specified...7XML, Libraries, Language, PHP 7
Description Author

This class can encapsulate several objects in one like Java Beans.

The preparation class can load and parse a XML file with the path WEB-INF/web.xml and loads other dependency classes to instantiate the respective objects.

The beans class may call the preparation class passing the current application scope.

The code and comments are in Portuguese. In Portuguese:

Uma implementação em PHP simulando Javabeans. Ver README.

Innovation Award
PHP Programming Innovation award nominee
May 2016
Number 7


Prize: One copy of the Zend Studio
Java Beans are classes that encapsulate multiple objects in a single Bean class.

This package provides a PHP implementation of Java Beans.

It can parse configuration files to determine what dependency classes need to be loaded and instantiated.

Manuel Lemos
  Performance   Level  
Name: Bruno Henrique Ferreira ... <contact>
Classes: 4 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Details

?=============Brazilian Feijoada for PHP=============

Introduction

A PHP implementation of Java Beans.

-All classes can be used as dependency;

-All attributes with the managed bean notation can be acessed from client-side.

Requirements

-PHP 7;

-JQuery 2.2.1.

Usage

Instalation.

-Configure the class, file and path in web.xml.

-In html file loadind beans.js use the following sintax in any part (except head):

{request@class-name.attribute-name}

{request@class-name.array-name.key}

{request@class-name.array-name.key.key}

To do.

-Development of all scopes of Java bean.

License

-In the license file.

  Files folder image Files  
File Role Description
Files folder imagepublic (1 file, 3 directories)
Files folder imageresources (4 files)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file LICENSE.md Lic. License file.
Accessible without login Plain text file README.md Doc. Documentação.
Plain text file test3.php Class Class source

  Files folder image Files  /  public  
File Role Description
Files folder imagejs (2 files)
Files folder imageWEB-INF (1 file)
Files folder imagecss (1 file)
  Accessible without login HTML file home.html Data Client-side acessando o atributo.

  Files folder image Files  /  public  /  js  
File Role Description
  Accessible without login Plain text file beans.js Data The generic controller of bean.
  Accessible without login Plain text file jquery-2.2.1.js Data Required api.

  Files folder image Files  /  public  /  WEB-INF  
File Role Description
  Accessible without login Plain text file web.xml Data Dependency classes.

  Files folder image Files  /  resources  
File Role Description
  Plain text file beans.php Class The main class.
  Plain text file test1.php Class Test 1.
  Plain text file test2.php Class Test 2.
  Plain text file test3.php Class Test 3.

  Files folder image Files  /  public  /  css  
File Role Description
  Accessible without login Plain text file style.css Data CSS.

 Version Control Unique User Downloads Download Rankings  
 84%
Total:114
This week:5
All time:8,463
This week:181Up