ZendAMF DataServices with SQL XML Assembler
February 11th, 2009
My good friend and colleague Piotr Walczyszyn from Platform Evangelism Team just put together the features of ZendAMF (formerly AMFPHP) and DataServices SQL XML Assembler, which you can know from LiveCycle DS.Â
According to me, this is really great feature, which I was dreaming about many years and finally it’s ready for PHP developers.
Your service method definition will look this way (from Piotr’s blog):
<?xml version="1.0" encoding="utf-8"?> <service> <destination id="ZendAmfDs"> <properties> <defaults> <columnNameCamelSeparator>_</columnNameCamelSeparator> <modelsPath>models</modelsPath> </defaults> <select id="findFooById"> <asClass>Foo</asClass> <modelClass>Foo</modelClass> <where>ID = 1</where> </select> <select id="findAllFoos"> <asClass>Foo</asClass> <modelClass>Foo</modelClass> <order>NAME</order> </select> <insert id="insertFoo"> <asClass>Foo</asClass> <modelClass>Foo</modelClass> </insert> </properties> </destination> </service>
There is much more. Check it out and try it at Piotr’s blog:
Facebook comments:
No Comments »
No comments yet.
RSS feed for comments on this post. / TrackBack URL