Skip to main content

Home/ Google AppEngine/ Group items tagged gaelyk

Rss Feed Group items tagged

Esfand S

Gaelyk - a lightweight Groovy toolkit for Google App Engine Java - 0 views

  • The easiest way to get setup rapidly is to download the template project from the download section. It provides a ready-to-go project with the right configuration files pre-filled and an appropriate directory layout: web.xml preconfigured with the Gaelyk servlets appengine-web.xml with the right settings predefined (static file directive) a sample Groovlet and template the needed JARs (Groovy, Gaelyk and Google App Engine SDK)
  • Running your application locally Google App Engine provides a local servlet container, powered by Jetty, which lets you run your applications locally. If you're using the Gaelyk template, when you're at the root of your project — and we assume you have installed the App Engine SDK on your machine — you can run your application with the following command-line: dev_appserver.sh war
  • Deploying your application in the cloud Once you're at the root of your application, simply run the usual deployment command: appcfg.sh update war
Esfand S

Gaelyk + GWT - Gaelyk | Google Groups - 0 views

  • you can use the sample project that the google plugin for eclipse create for you. Then you can easily replace the generated java code by groovy / gaelyk code. Note that you need to add the jars in the war/WEB-INF/lib of your project, and add them in the project build path options.
Esfand S

Extending Entity to provide real POGO like qualities with names attributes - Gaelyk | G... - 0 views

  • 1) Show the plugins.groovy and routes.groovy files in the WEB-INF folder in the Gaelyk project diagram. They are currently absent from the diagram. 2 Put a star or some other icon next to the mandatory plugins folder and the 2 mandatory plugin files (plugins.groovy and the plugin descriptor file) in the diagram. This will help show that one just needs to mix in in these files with the rest of their own project's files.
Esfand S

Extending Entity to provide real POGO like qualities with names attributes - Gaelyk | G... - 0 views

  • a plugin is just a bunch of files as is accurately described in the docs and these files go in certain places in your application's folders in order to be used as is also accurately described in the docs.
Esfand S

Entities to JSON - Gaelyk | Google Groups - 0 views

  • you could leverage Entity's getProperties() method, in combination with JSON-lib's groovy-friendliness and ability to serialize maps as JSON. So, say you have an Entity: def person = new Entity("person") person.name = "Guillaume Laforge" def jsonString = person.properties as JSONObject Have a look at JSON-lib and the Entity JavaDoc. And I think it'll solve your problem pretty neatly!
Esfand S

A simple Groovlet to read and display JSON data on Google App Engine with Gaelyk - Mess... - 0 views

  • ! In this blog post we learn how easy it is to deploy a simple Groovlet to the Google Appengine and how easy it is to parse JSON results.
Esfand S

Uploading files from the browser - Gaelyk | Google Groups - 0 views

  • Personally, I would recommend using the blobstore API for this since it is officially supported by google and means it won't break in the future. It also has nice bindings into the imageservice. http://code.google.com/appengine/docs/java/blobstore/overview.html
1 - 19 of 19
Showing 20 items per page