开发者

Open-source generic web service to database interface?

开发者 https://www.devze.com 2022-12-27 05:57 出处:网络
I\'m looking for a thin, generic layer (probably written in PHP) that sits between a database (probably MySQL) and web service clients (which could be anything).I imagine there would be config files o

I'm looking for a thin, generic layer (probably written in PHP) that sits between a database (probably MySQL) and web service clients (which could be anything). I imagine there would be config files of some sort that tell 开发者_开发技巧it how to map web service requests to database queries (or other DB commands). It would also need to handle authentication and authorization, of course.

I've done some googling but failed to find anything that fits the bill. Can anyone suggest something like this?


This is the right framework for your needs - http://sourceforge.net/projects/phprestsql/


Well, there are all sorts of PHP database frameworks that may very well fit the bill.

Most obvious is PDO, which is really just a set of classes for working with the database. It's baked into PHP 5.1+ so it doesn't even require a download.

Others are more complete, and do all sorts of work for you.

  • Prado (Which gained features and size with the latest forks)
  • Zend_DB

And search Google for a massively large list. Hope that helps.


phpMyAdmin might be what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号