kinyelo / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
1 stars 2 forks source link

way to get connected to google datastore #370

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi,

is there anyway I can connect to datastore and loop that to display to my page?

thanks

Original issue reported on code.google.com by perlymr...@gmail.com on 26 Oct 2010 at 9:38

GoogleCodeExporter commented 9 years ago
Please ask questions on Vosao Google Group 
http://groups.google.com/group/vosao-cms-development

Original comment by kinyelo@gmail.com on 26 Nov 2010 at 10:22

GoogleCodeExporter commented 9 years ago
Best way is to create your own plugin (for example: myplugin) and create plugin 
custom VelocityService so in the Velocity scripts (inside template and page) 
you will be able to call $service.myplugin.myMethod(...) to get data from 
Datastore.

For example of creating your own datastore entities please look at the register 
 plugin:

http://code.google.com/p/vosao/source/browse/#svn%2Fplugins%2Fregister 

Original comment by kinyelo@gmail.com on 13 Feb 2011 at 10:26

GoogleCodeExporter commented 9 years ago
Sorry $plugin.myplugin.myMethod(...)

Original comment by kinyelo@gmail.com on 13 Feb 2011 at 10:26