Grab it while it's hot
by Bruno Oliveira
Hi slackers, we have been busy this week preparing our TODO app only for you, including our brand-new aerogear.js well conducted by our magician, sir kborchers.
Currently the app was deployed to OpenShift http://todo-aerogear.rhcloud.com/
Feel free to test it at your device and file a JIRA (https://issues.jboss.org/browse/AEROGEAR) if you find a issue, please.
--
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
12 years, 4 months
site generation issues
by Douglas Campos
Howdy
I just found out that cloudbees' asciidoc version is ancient at best (2009-ish) and because of this the site generation fails. Openshift has no asciidoc installed, so at least for now we won't be able to have this generation in place =/
I'm looking for ways on how to automate/script the site generation, but at least for now I'll stick to the manual process. (run ./build)
"Works on my machine" won this battle :(
-- qmx
12 years, 4 months
Android - server endpoint
by Marko Strukelj
I want to share some links from Google I/O 2012 that describe current solution from Google with respect of ease of development - how to have a REST endpoint in support of client apps on multiple platforms.
One interesting solution is something they call Endpoints. It's AppEngine-centric, but you can think of AppEngine as your server-side wherever it's hosted. The idea is that you create your endpoint - a REST service, annotate it with some annotations and then use tooling to generate client library for your REST service. And you can generate client libs in java, ObjectiveC, javascript ...
A very nice demo of this (starts playing where the interesting part begins):
http://youtu.be/NU_wNR_UUn4?t=9m24s
Note at 19:36 into the video (http://youtu.be/NU_wNR_UUn4?t=19m36s) a mentioned JSON description of deployed REST service, and API Explorer.
API Explorer is really cool stuff - you can explore your REST service from your browser, and interact with it. And JSON based metadata about the service allows direct usage in javascript libraries in the browser.
At 22:41 into the movie (http://youtu.be/NU_wNR_UUn4?t=22m41s) there is a demo of Google Plugin for Eclipse used to generate client side API from a web service.
There is another interesting video on the topic:
http://youtu.be/dylFNrvZ_3U?t=26m45s
It starts a bit slowly but it's necessary to explain what a demo app does, and then gets more interesting about 35:40 into the video (http://youtu.be/dylFNrvZ_3U?t=35m40s).
Some food for thought ...
- marko
12 years, 4 months
[AeroGear.js] Persistence API - draft 0.1
by Matthias Wessendorf
Hi,
looking at [1] and also reading the client JS code from the TODO app
(->app.js), I am wondering if there is a newer version of the draft?
Also, inside of the rest adapter of aerogear.js the 'delete' function
is called 'del' ([2]), not sure if that's a good idea..
While reading the app.js file, I also noticed that some of the 'setup'
syntax needs to be documented (e.g. the draft is missing details on
settings,url etc of the cfg object):
var todo = aerogear.pipeline([
{
name: "tasks",
settings: {
url: "/todo-server/task"
}
},
...
Also - perhaps for now it is OK, but I think it (still) reads a bit
too much jQuery/ajax like?!
projectGet = Projects.read({
ajax: {
success: function( data, textStatus, jqXHR ) {
$( "#project-loader" ).hide();
updateProjectList( data );
}
}
});
(I think we had this topic already in the past, not too strong
feelings about this... but just wanted to mention this)
Oh, one last question, is there a decent/easy way to generate API docs
out of the JavaScript API?
Thanks!
[1] https://gist.github.com/3084134
[2] https://github.com/aerogear/aerogear-js/blob/master/src/pipeline/adapters...
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
12 years, 4 months
contributing to forge plugin.
by jdbjunior@gmail.com
Hey guys, I've studying aerogear those days and I'm willing to
contribute to it. :)
Dunno where to lend my hands yet, but I was thinking about the
aerogear forge plugin.
I think Jay Balunas has said something about it on the hangout today.
So I'd like to ask what do you think about that? And if is there any
idea related to it?
Thanks,
José Donizetti.
12 years, 4 months
Re: [aerogear-dev] [Aerogear-dev] Initial TODO app structure and REST endpoints added.
by Bruno Oliveira
Merged, thank you.
--
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
On Sunday, August 5, 2012 at 1:19 PM, Jay Balunas wrote:
> There is a wiki page with the right headers. I'm on my phone so can't easily compare with what you have.
>
> https://community.jboss.org/wiki/AeroGearLicensingAndCopyright
>
> Thanks a lot!
>
>
>
> On Aug 5, 2012, at 7:31 AM, Matthias Wessendorf <matzew(a)apache.org (mailto:matzew@apache.org)> wrote:
>
> > Is this the proper header?
> >
> > /**
> > * JBoss, Home of Professional Open Source
> > * Copyright 2012, Red Hat, Inc., and individual contributors
> > * by the @authors tag. See the copyright.txt in the distribution for a
> > * full listing of individual contributors.
> > *
> > * Licensed under the Apache License, Version 2.0 (the "License");
> > * you may not use this file except in compliance with the License.
> > * You may obtain a copy of the License at
> > * http://www.apache.org/licenses/LICENSE-2.0
> > * Unless required by applicable law or agreed to in writing, software
> > * distributed under the License is distributed on an "AS IS" BASIS,
> > * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > * See the License for the specific language governing permissions and
> > * limitations under the License.
> > */
> >
> >
> > (will add it in)
> >
> > On Sun, Aug 5, 2012 at 1:26 PM, Jay Balunas <jbalunas(a)redhat.com (mailto:jbalunas@redhat.com)> wrote:
> > > Good catch, the project is apache license but forge must have added headers.
> > >
> > > I'll create a jira to cover this unless you feel like putting it in
> > >
> > >
> > >
> > > On Aug 5, 2012, at 7:18 AM, Matthias Wessendorf <matzew(a)apache.org (mailto:matzew@apache.org)> wrote:
> > >
> > > > GPL?
> > > > https://github.com/aerogear/TODO/blob/master/server/src/main/java/org/aer...
> > > >
> > > > while the pom indicates the Apache License, Version 2:
> > > >
> > > > <licenses>
> > > > <license>
> > > > <name>Apache License, Version 2.0</name>
> > > > <distribution>repo</distribution>
> > > > <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
> > > > </license>
> > > > </licenses>
> > > >
> > > > -M
> > > >
> > > >
> > > > On Fri, Aug 3, 2012 at 1:56 PM, Jay Balunas <jbalunas(a)redhat.com (mailto:jbalunas@redhat.com)> wrote:
> > > > > Hi All,
> > > > >
> > > > > I just pushed the initial structure and endpoints for the TODO application,
> > > > > including place holders for multiple clients types.
> > > > >
> > > > > https://github.com/aerogear/TODO
> > > > >
> > > > > It is not "AWESOME" yet. The endpoints are nearly straight out of Forge,
> > > > > and need some more love, plus working out the JAX-RS marshaling for
> > > > > oneToMany relationships. We might need to do what tickermonster did and
> > > > > manually reference object ID instead of actually using the object
> > > > > relationships.
> > > > >
> > > > > You can build by running "mvn package", and then either having tools
> > > > > deploy, or manually move over the server and www-client wars to JBoss AS.
> > > > >
> > > > > Once there you can access the web client by (it is a placeholder until kris
> > > > > adds his love):
> > > > >
> > > > > <localhost:8080>/todo-www/
> > > > >
> > > > > RESTful endpoints are :
> > > > >
> > > > > <localhost:8080>/todo-server/rest/project
> > > > > <localhost:8080>/todo-server/rest/task
> > > > > <localhost:8080>/todo-server/rest/tag
> > > > >
> > > > > Note: I'll be removing the "/rest" part soon.
> > > > >
> > > > > Tag is the only one that is populated atm from the import.sql file because
> > > > > it is the only one without a relationship to other entities. Although not
> > > > > fully tested full CRUD should be available via the endpoints, however the as
> > > > > mentioned we need to figure out the JAX-RS marshaling.
> > > > >
> > > > > Kris: I changed "class" in project & tag to "style" - a less client side
> > > > > specific name, and does not conflict with the reserved Java word "Class" in
> > > > > forge.
> > > > >
> > > > > -Jay
> > > > >
> > > > > _______________________________________________
> > > > > aerogear-dev mailing list
> > > > > aerogear-dev(a)redhat.com (mailto:aerogear-dev@redhat.com)
> > > > > https://www.redhat.com/mailman/listinfo/aerogear-dev
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > >
> > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > sessions: http://www.slideshare.net/mwessendorf
> > > > twitter: http://twitter.com/mwessendorf
> > > >
> > >
> > >
> >
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > twitter: http://twitter.com/mwessendorf
> >
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)redhat.com (mailto:aerogear-dev@redhat.com)
> https://www.redhat.com/mailman/listinfo/aerogear-dev
>
>
12 years, 4 months