Wavemaker: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
== Overview == | |||
Wavemaker is a RAD browser based development tool for creating Java/Javascript/Ajax applications. | Wavemaker is a RAD browser based development tool for creating Java/Javascript/Ajax applications. | ||
Wavemaker is 100% open source. (Apache 2 license) | Wavemaker is 100% open source. (Apache 2 license) | ||
I am interested in it because I need to create applications backed by PostgreSQL databases. | I am interested in it because I need to create applications backed by PostgreSQL databases. | ||
== | Get it from http://wavemaker.com/ -- download and run the installer. On a Mac it's an application, | ||
on Linux it installs into /opt/wavemaker-''version'' by default. | |||
Wavemaker is Java and comes bundled with Tomcat so you can just run it and it connects via a web browser. | |||
== Getting started == | |||
First build a database. Come back when you are done. | |||
You can build one in Wavemaker but it's a lot of work. Use pgadmin or a text file and psql. | |||
I have commands to build my sample data base here: [[Motion database]]. | |||
Start Wavemaker running (as yourself not root). | Start Wavemaker running (as yourself not root). On my Linux server I run this: | ||
On my Linux server I run this: | |||
/opt/wavemaker-6.5.2.Release/bin/wavemaker.sh | /opt/wavemaker-6.5.2.Release/bin/wavemaker.sh | ||
When running on a server it tries to open to "localhost" in your browser. You have to plug in the correct server name or IP address. | |||
The intent is that you build on a staging server and deploy to [http://cloudfoundry.com/ Cloud Foundry]. I don't know how to deploy yet! | The intent is that you build on a staging server and deploy to [http://cloudfoundry.com/ Cloud Foundry]. I don't know how to deploy yet! | ||
Line 27: | Line 33: | ||
== Sample database == | == Sample database == | ||
The [[motion database]] can be used keep track of bicycle and car things. | |||
It is part training log, part asset manager. | It is part training log, part asset manager. | ||
Revision as of 21:51, 19 March 2013
Overview
Wavemaker is a RAD browser based development tool for creating Java/Javascript/Ajax applications. Wavemaker is 100% open source. (Apache 2 license)
I am interested in it because I need to create applications backed by PostgreSQL databases.
Get it from http://wavemaker.com/ -- download and run the installer. On a Mac it's an application, on Linux it installs into /opt/wavemaker-version by default.
Wavemaker is Java and comes bundled with Tomcat so you can just run it and it connects via a web browser.
Getting started
First build a database. Come back when you are done. You can build one in Wavemaker but it's a lot of work. Use pgadmin or a text file and psql.
I have commands to build my sample data base here: Motion database.
Start Wavemaker running (as yourself not root). On my Linux server I run this:
/opt/wavemaker-6.5.2.Release/bin/wavemaker.sh
When running on a server it tries to open to "localhost" in your browser. You have to plug in the correct server name or IP address.
The intent is that you build on a staging server and deploy to Cloud Foundry. I don't know how to deploy yet! I assume I can deploy anywhere I want as long as the server supports the right pieces. (Tomcat 6)
A project directory is created in your home directory.
/home/AGI/bwilson/WaveMaker 6.5.2.Release/projects/MotionDBDemo [bwilson@dart MotionDBDemo]$ cat file_map_readme.txt this file gives details on what's in all the files here
Sample database
The motion database can be used keep track of bicycle and car things. It is part training log, part asset manager.
The basic tables are: trip rider photo vehicle maintenance
The junction tables are: j_trip j_photo
Importing data into Wavemaker
- Services in top bar
- Import database
Once you have done this then the tables will be available as Data Widgets but there are no joins!
Services tab (the one on the left not the one in the top bar)
Setting up relationships
Wavemaker docs on relationships and foreign keys
So far it seems to have done a pretty good job on its own.
LiveViews are like Views in a database. I can create a LiveView to access the joined results as a single Data Widget. I think.
Insert -> LiveVariable
Related products
Eclipse http://eclipse.org/
Spring http://springsource.com/