Sorry for bothering you people, but i feel that this kind of productivity
framework would really help alot of people....

To give you an idea how it works this is how you would start a typical
project :

You would open the repository editor and :

Create you Business Objects eg : Client
      - id  (marked as the primary key)
      - firstname
      - surname
      - email
      - sex
The types determine how it is presented and you can select how it is
presented. So for example if it is a date is the framework will generate a
calendar popup etc..

Then in the Business Object to you setup you Attribute Groups, there are a
couple that are recommended to create.

label - for listing Clients
edit - Used be the edit screen
search - used by the search screens


Then you will setup you pageflow :

Add a new page of type search and assign it to the Client object, this will
use the search attribute group. You can then setup what its forward and
submit actions are.
Then you can add a list screen with will use the label attribute group and
use the results of the search there will also be a link created for editing
the object
Then you would create the edit screen which will use the edit attribute
group etc...

There is more to it, but anyway. At the end of this you will have generate
only xml, no code. The frontend can either be web or swing etc..

The key things i like about it is :
1) You do not need to be a programmer to use it. Or at least you do not
need to know about the language it is written.
2) Development is very very faster.
3) The framework handles most of the dirty work so need to only sure that
the framework is written 100% correctly.


Mike





|---------+---------------------------->
|         |           Ted Husted       |
|         |           <[EMAIL PROTECTED]|
|         |           g>               |
|         |                            |
|         |           07/10/2003 08:47 |
|         |           PM               |
|         |           Please respond to|
|         |           "Struts          |
|         |           Developers List" |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       Struts Developers List <[EMAIL PROTECTED]>                         
                              |
  |       cc:                                                                          
                                          |
  |       Subject:  Re: Self Describing Business Objects :                             
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




The closest thing I know about might be dbForms
<http://jdbforms.sourceforge.net/>, but it doesn't generate the entire
JSP. Just makes it easier to write.

There's also MiddleGen <http://boss.bekk.no/boss/middlegen/>, but I
don't think that addresses the presentation page at all, just the
configuration files.

This looks like a likely scenario for JavaServer Faces
<http://java.sun.com/j2ee/javaserverfaces/>, but that isn't available
for use in a production application yet.

If you're doing things with XLS, two likely suspects are stxx
<http://stxx.sourceforge.net/> and Maverick <http://mav.sourceforge.net/>.

There's a Cocoon Plugin for Struts available
<http://struts.sourceforge.net/>, and an example Hibernate plugin for
Struts is on their site <http://hibernate.org/105.html>.

If you bring over the editor and so forth, you might consider using
Velocity for the screens <http://jakarta.apache.org/velocity/>. It's
very amenable to this sort of thing.

But, Rob's right. This is really a USER list question.

-Ted.


[EMAIL PROTECTED] wrote:
> I will be working on porting a company framework (and hopefully open
source
> it) from ASP/VB (yack!) to Java. The idea of the framework is quite
simple.
> It is a framework for buiding administration screens like update/search
> edit user but it has some interesting features :
>
> The Business objects a described in xml ie :
>
> <entity>
> <name>user</name>
> <table>usr</table>
> <attributes>
> <name>firstname</name>
> <label>
> <EN>
> <label>First Name</label>
> </EN>
> .....
> </attributes>
>
> <attributegroups>
> <attributegroup>
> <name>Label</name>
> <attributes>
> <attribute>firstname</attribute>
> <attribute>surname</attribute>
> </attributes>
> </attributegroup>
> <attributegroup>
> <name>Edit</name>
> <attributes>
> <attribute>firstname</attribute>
> <attribute>surname</attribute>
> ....
> </attributes>
> </attributegroup>
> etc..
> </entity>
>
>
> The Business Object xml descriptor has enough information for display it
as
> well as updating it. AttributesGroups allow for list views and edit views
> of the object.
>
> Another component of the framework is the PageFlows that are made up of
> Actions that use these Business Objects to get the info for these views
> like "Edit User". Most of the time you do not need to write code at all,
we
> have also written a editor for the Business Objects and the Pages Flows.
>
>
> So at the end of the day the html of genernated by the framework from the
> xml descriptor and the persistence is also done from there. So doing
> administration screens are very quick. ie : days instead of weeks. The
some
> code can be used for web front ends as well as guis.
>
> I was wondering it there is anything else out there like this or are
there
> ways on doing some intergration of this with Struta and Hibernate and
> Cocoon?
>
> Mike
>
>
>
>
>
********************************************************************************

> The information in this message is confidential and may be legally
> privileged. It is intended solely for the addressee; access to this
> email by anyone else is unauthorised.
>
> If you are not the intended recipient: (1) you are kindly requested
> to return a copy of this message to the sender indicating that you
> have received it in error, and to destroy the received copy; and (2)
> any disclosure or distribution of this message, as well as any action
> taken or omitted to be taken in reliance on its content, is prohibited
> and may be unlawful.
>
********************************************************************************

>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Ted Husted,
   Junit in Action  - <http://www.manning.com/massol/>,
   Struts in Action - <http://husted.com/struts/book.html>,
   JSP Site Design  - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.

"Get Ready, We're Moving Out!!" - <http://www.clark04.com>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to