[Main concepts ]
FormPers is a pure JAVA framework that can
make WEB development easy. You can build complex sites, and all what you need
is to concentrate on the functional structure, because FormPers
will handle almost all technical aspects by itself. For example :
- if you want your site to have a nice look, you should think about the design.
Probably you'll need to play with some graphics applications like Gimp,
Adobe Photoshop etc for drawing some nice images. Also you'll
need to use an advanced HTML editor like Macromedia
Dreamweaver, MS FrontPage etc for HTML creation.
Having all static HTML pages done, you'll probably want to
add some more functionality to your site by writing some CGI scripts,
so you may need to rewrite some pieces of your HTML code
into scripts. If you use FormPers, there's no need to do
that. All that you need is to rewrite the abstract method show()
of the basic panels and forms. A servlet will handle the task of generating
HTML code when needed.
- there’s no need to build HTML forms, to think about
the key names of input items in those forms. All that you need is to extend
the basic forms and to pass them some info about data you want them to deal
with (see below about persistent objects). Also you don’t need to parse
the incoming data from forms – everything is done automatically.
- having huge amounts of data to store and to process will force you to use
database facilities for making your life easier. Using FormPers,
you don’t need to know a lot about SQL – if you
don’t even know the right syntax for SQL queries, but
just some general ideas about it – that should be enough. All that you
need is a working Database Server and a valid account on it. Just put the
database URL, username and password into a configuration
file – and forget about it! :)
- dealing with many data entities will become easier if you’ll get
into the habit of thinking object-oriented (not to mention that you can’t
even do simple JAVA programming without it). By splitting
your data entities into groups by their common characteristics, you’ll
be able to see what persistent objects you need to create. All that you need
is to describe their data fields and some rules for validating the accuracy
of these fields. All persistent objects will be stored in the database automatically,
as soon as you’ll instantiate them first time. Also the database structure
will be modified automatically if you’ll modify the structure of your
persistent objects by adding, removing or editing some fields and their content.
This may look a bit obscure, but better go take a look to the examples - you'll
see that there's nothing complicated and you can do it easy, even if you have
almost no background in JAVA and SQL.
Previous page Tree of contents
Next page