Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    REST PHP Apache MySQL

    Hi, I would like to use SmartClient with REST on a Linux/Apache/MySQL server.

    Do I need to develop the REST webservices myself (then I will use PHP) or can I use any standard packages/libraries?

    If not generally available, anyone who has one ready?

    Best regards
    /Johan

    #2
    As it happens, we have just kicked off a project to create a few such samples (PHP + Doctrine). They will appear on the public wiki at wiki.smartclient.com, sorry, there is no ETA.

    Note that the first few steps are really simple - just create a RestDataSource, use dataFormat:"json" and use standard PHP built-ins to output your data as JSON.

    Comment


      #3
      On the public wiki there is now a series of articles showing how to build PHP server code for RestDataSource that supports full CRUD, including AdvancedCriteria and transactional commits to a database (using the RedBean PHP library). Take a look here.

      Comment

      Working...
      X