f

restful 개발 시 사용 했던 프레임워크

https://github.com/jmathai/epiphany 

- 비교적 간단한 형태로 restful을 제작 할수 있어 많이 사용했던 프레임워크 입니다.

 

 

 

The Epiphany PHP Framework

Fast. Easy. Clean. RESTful


How it looks

The most basic example is including the routing module and defining a few endpoints and providing a callback function that executes when someone requests that page.

Epi::init('route');
getRoute()->get('/', 'home');
getRoute()->get('/contact', 'contactUs');
getRoute()->run();

function home() {
    echo 'You are at the home page';
}

function contactUs() {
    echo 'Send us an email at <a href="mailto:foo@bar.com">foo@bar.com</a>';
}

Learn more about the modules

Read documentation on the individual modules available in Epiphany.

  1. Route - A RESTful routing library to map paths to functions.
  2. Api - An API helper module to create private and public APIs. This is both new and awesome.
  3. Session - A multi-engine session library which supports native PHP sessions, APC and Memcached.
  4. Database - A simple interface to PDO's MySql driver.
  5. Cache - A easy caching library which supports APC and Memcached.
  6. Config - An ini based configuration library that supports overloading.

The Manifesto

The Epiphany framework is fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful.

The documentation provides a few conventions that we believe lead to well written code but you're free to use any style you'd like. The framework never dictates how you should write or structure your application.


What you need

The Epiphany framework only requires PHP 5+, Apache and mod_rewrite. That's all!


Getting started

The following links to documentation and articles will help you get up and running in no time. Included in the repository is an example directory with sub applications highlighting the different features of the Epiphany framework.

  1. http://github.com/jmathai/epiphany

The authors

Get in touch with the authors if you have suggestions or questions.

687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f65346431663039396434306533623435336265333335353334396239303435373f733d3630Jaisen Mathai
jaisen-at-jmathai.com
http://www.jaisenmathai.com
687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f6e6f686173683f733d3630Kevin Hornschemeier
khornschemeier-at-gmail.com
http://www.khornschemeier.com

 

|
댓글을 작성하시려면 로그인이 필요합니다.

오픈소스

+
제목 글쓴이 날짜 조회
10년 전 조회 897
10년 전 조회 2,440
10년 전 조회 1,176
10년 전 조회 2,464
10년 전 조회 1,487
10년 전 조회 2,165
10년 전 조회 1,763
10년 전 조회 2,327
10년 전 조회 2,302
10년 전 조회 3,423
10년 전 조회 1,274
10년 전 조회 1,671
10년 전 조회 1,580
10년 전 조회 1,274
10년 전 조회 1,453
10년 전 조회 1,353
10년 전 조회 1,490
10년 전 조회 1,055
10년 전 조회 3,936
10년 전 조회 1,088
10년 전 조회 2,337
10년 전 조회 1,611
10년 전 조회 991
10년 전 조회 3,823
10년 전 조회 960
10년 전 조회 1,321
10년 전 조회 630
10년 전 조회 1,966
10년 전 조회 1,493
10년 전 조회 1,274