2017 © Pedro Peláez
 

library yafa

Yet Another Framework Acronym for PHP 5.3+

image

holisticagency/yafa

Yet Another Framework Acronym for PHP 5.3+

  • Thursday, October 23, 2014
  • by panos-zamos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

YAFA

Yet Another Framework Acronym, (*1)

About

yafa suppose to be small, readable, fast and modular PHP framework. It is developed for the [gy.rs]0 project., (*2)

yafa consist of 4 parts:, (*3)

  1. yafa core (requester, responder, router, loader...)
  2. yafa api [yapi] (internal api used by core and applications)
  3. ~~vendor (libs used from core and yapi, it's not really part of yafa but yafa depend on it)~~
  4. ~~apps (create one of your own or use/fork some from bitbucket.org/plz)~~

yafa core and yafa api are in one repository while vendor and app have there own., (*4)

yafa core

yafa core is hart of any yafa project and is relatively small, it has only couple of php files with sum of LOC less then 2k. yafa core should start application, handle request and respond and delegate all other stuff to app., (*5)

yapidepricated

yafa api or yapi is a set of 'mini applications' that are used by yafa core and yafa applications for tasks like caching, user authentication and authorization, string translation, layout rendering, config etc., (*6)

core and apps communicate with each yapi using a standard set of methods and each yapi must respond in the same way (see yapi/README) each yapi can have multiple versions and config will determine which will be used., (*7)

vendor

vendor contain 3th party libs that are used from core and yapi (orm, profiling etc). app vendor libs should go to vendor dirs inside app/., (*8)

app

in app part are applications that work on top of yafa. there can be more then one application and which one will be used is determine by defining YAFA_APP_DIR in init (yafa core)., (*9)

Requirements

  1. PHP 5.3+ (for yafa core)
  2. see yapis/README for yafa api requirements

Install

yafa is hosted on https://github.com/holosticagency/yafa and is git repository., (*10)

  1. get yafa:
    • composer: add "holisticagency/yafa": "dev-master" to require
    • git: git clone git@github.com:holosticagency/yafa.git

Usage

short usage info, for more see wiki pages at HolisticAgency.com/yafa/wiki, (*11)

yafa shema (http://i.imgur.com/oTf59g6.jpg?1): http://i.imgur.com/oTf59g6.jpg?1, (*12)


thanks for flying yafa airways ;), (*13)


License

see MIT License or LICENSE file, (*14)

TODO

  • create one-file-install
  • refactor urls in this readme

Note

The Versions

23/10 2014

dev-master

9999999-dev https://github.com/holosticagency/yafa_core

Yet Another Framework Acronym for PHP 5.3+

  Sources   Download

The MIT License (MIT)

The Requires

  • php >=5.3.0

 

by Panajotis Zamos

framework

09/08 2014

dev-old_yafa

dev-old_yafa https://github.com/holosticagency/yafa_core

Yet Another Framework Acronym for PHP 5.3+

  Sources   Download

The MIT License (MIT)

The Requires

  • php >=5.3.0

 

by Panajotis Zamos

framework