Visual Record Store Editor - what is it?

When I read Iwan's reply to survey for NetCAT participants I was suprised with a Visual Record Store Editor. It sounds nice. I don't like to manage the Record Stores by hand why the IDE shouldn't help me to do it. It's perfect idea. Iwan already filled enhancement #70927 about it.

I thinking about it...
How should it work?
How should it look like? I mean how it should represent the Record Store to user? UI?
What do you expect from it?

You ideas are highly welcome. Either in comments here or in comments in the ehhancement
Comments:

Hi Lukas,<p/> I have some ideas, of course since I posted the enhancement.<p/> Let's say that the release notes should say something like this (but not limited to this obviously).<p/> - It is possible to select a class from your project and right click on the class' name. You then get the option 'Create Record Store from Class' which takes you to a dialog that lists all primitive fields of the class. You can check which fields you want to store in the RS. Than click 'OK' and NB will generate the code to CRUD the RS and records in the RS. You can select if you want this code to be generated as methods of the selected class, or a new class that can handle the appointed class with respect to the RS. <p/> - There is an option 'Generate GUI' available when you right click on the declaration of a record store (that you've created with the previous feature). When you select it, you're asked whether you want a single CRUD-screen that allows you to CRUD a RS, or you can opt to generate several Forms for the various CRUD operations. Of course you can also select this as an integral part of the previous feature. <p/> - There is a visual editor to create an RS. It draws an empty box on the screen when you start it, and from the component palette you can drag fields on the box. NB will then create a class for the RS with the CRUD methods (or if you like, the CRUD methods in a separate class). You can then right click on the visual RS and select 'Generate GUI'.
It is possible to create new RS components by using aggregation. This allows for a standard combination of fields you might want to use (e.g. Firstname/Surname combination, Booktitle/ISBN combination, Name/Address combinations etc).
You can also have a RS definition as a component, so you can use the same RS in different MIDlets.
These components can be packaged and imported in other projects so you can create component libraries and make a living out of them. In order to get this to really flourish, you can assign an icon to a component so you can spread your logo all over the globe. :) <p/> - It is possible to have NB generate code to synchronize the contents of an RS with a remote Database through a webservice (SOAP) interface or through a plain old servlet interface. You can limit the amount of records going back and forth. There is an interface that allows for some custom restrictions, like only those x number of records that have value y in field z. <p/> - It is possible to have NB generate code to put some default (dummy) data in the RS. This is handy when put within a pre-processor block, so you can test your code with minimal effort. <p/> Iwan

Posted by Iwan Eising on January 27, 2006 at 03:57 AM CET #

I really appriciate your effort in Mobility Pack, Iwan. I'll discuss it with VMD guys. Thank you.

Posted by Lukas on January 27, 2006 at 04:55 AM CET #

I don't know if all these functionnalities do exist in plain Gui (Matisse or other) development. But this will be really welcomed !! I've seen sommething like this today in netbeans blog (generating "dao" class from DB table, but one should go forward as to manage DB Table update (add column/delete column) on a already transformed table). Go on this way, as easiness will make NB adoption more natural.

Posted by Sylvestre SEGURON on January 27, 2006 at 12:08 PM CET #

Hi Lukas, You're welcome, it's the least I can do to give back what you've given me: An excellent J2ME IDE. Iwan

Posted by Iwan Eising on January 27, 2006 at 02:39 PM CET #

Post a Comment:
Comments are closed for this entry.
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded