Re: Seeking a simple java code generator for database CRUD web applications
- From: jmDesktop <needin4mation@xxxxxxxxx>
- Date: Wed, 21 May 2008 15:02:36 -0700 (PDT)
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.
.
- Follow-Ups:
- References:
- Seeking a simple java code generator for database CRUD web applications
- From: longislandbassist
- Re: Seeking a simple java code generator for database CRUD web applications
- From: Daniel Pitts
- Re: Seeking a simple java code generator for database CRUD web applications
- From: longislandbassist
- Re: Seeking a simple java code generator for database CRUD web applications
- From: Lew
- Re: Seeking a simple java code generator for database CRUD web applications
- From: jmDesktop
- Re: Seeking a simple java code generator for database CRUD web applications
- From: Lew
- Seeking a simple java code generator for database CRUD web applications
- Prev by Date: Re: Square Root Of java.math.BigInteger
- Next by Date: Re: synchronized HashMap vs. HashTable
- Previous by thread: Re: Seeking a simple java code generator for database CRUD web applications
- Next by thread: Re: Seeking a simple java code generator for database CRUD web applications
- Index(es):
Relevant Pages
|