Re: Seeking a simple java code generator for database CRUD web applications



On May 20, 11:51 pm, Lew <l...@xxxxxxxxxxxxx> wrote:
jmDesktop wrote:
Is it necessary to have a "model" section of a framework create tables
in the database for you with a meta-language instead of just creating
the database with some other tool (like a visual adminstrator)?  I was

Certainly not.  Every system I've worked on to date has created the database
as a separate activity, using (in RDBMSes) SQL DDL to define the database.

I recommend scripted DDL rather than meta-languages.

using Django in Python for a little bit and their models are created
with their own "meta-language," and I couldn't figure out why that was
so much better than just creating them with a tools and referencing
them with an API.  I know it worked and if "felt" all OOD, but it was
another complexity to master that I didn't quite see the benefit of,
but am open to why.

A step further - one can write quite successful data access layers using
direct JDBC calls.

Doing so will help you appreciate the value of the frameworks.

I agree that they're tricky to master, but that's in part because one must
step outside the playground of programming a little bit into the hard, adult
world of operations to make it all work.  Managing databases and XML files and
how and when everything all hooks together is another kind of trickiness, just
in a different time and place from managing source code changes.

--
Lew

I think frameworks and IDEs are making me dumb, but if I worked on a
text editor long enough and built enough sites, then I'd end up
building frameworks and IDEs so that I wouldn't keep re-inventing the
wheel. Yet, I cannot help but hate being shielded from the nuts and
bolts so much. I end up feeling like someone else is the "real"
programmer.

I guess I could argue all the way to assembly and machine language,
but that's too far for me.
.



Relevant Pages

  • Re: Seeking a simple java code generator for database CRUD web applications
    ... in the database for you with a meta-language instead of just creating ... the database with some other tool (like a visual adminstrator)? ... disobeying SQL DDL to contain the weight. ... with their own "meta-language," and I couldn't figure out why that was ...
    (comp.lang.java.programmer)
  • Re: Seeking a simple java code generator for database CRUD web applications
    ... in the database for you with a meta-language instead of just creating ... with their own "meta-language," and I couldn't figure out why that was ... I agree that they're tricky to master, but that's in part because one must step outside the playground of programming a little bit into the hard, adult world of operations to make it all work. ... Managing databases and XML files and how and when everything all hooks together is another kind of trickiness, just in a different time and place from managing source code changes. ...
    (comp.lang.java.programmer)
  • Re: Finally which ORM tool?
    ... assume that the abstract entity model is used to create a relational ... Poco frameworks tend to project (the relational ... engineered towards a relational database if it doesn't exist. ... application thinks it talks to the database server) and the actual ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: UI design and applications frameworks
    ... Tcl/Tk, so whenever I've confronted this situation, I've would up ... Well, besides database facilities, there is all the validation problem ... etc., but we are right, with Tcl it is pleasurable to implement that. ... I've written two database frameworks, ...
    (comp.lang.tcl)
  • Re: Cool things you can do with Delphi
    ... each table that I have in the database. ... I hope to see code insight for databases appear in our IDEs in ... the future without requiring persistent field generation. ...
    (borland.public.delphi.non-technical)