Re: What does everyone else do for graphically displaying data?



<snip>
I like to work with a PostgreSQL database hookup, and just build and tear down
tables in parallel with the application programming. NetBeans and Eclipse
both have active editor windows that know what to do with a database link.
From time to time I pop into a command window and use psql, the command-line
interpreter. (That also lets me experience concurrent access.)

When in an RDBMS, don't think like a Java programmer. Think like a database
person.

Architecturally, this separates the business logic from the data layer by
messages. "I need to know all the addresses for this company," your business
logic demands. The database serves up a set of rows, the DAO loads the
columsn into object fields, and Bob's your uncle.
<snip>

first off--thanks for such a concise reply, it helps...

i think it's easy enough to do as you say to simply display data, but
editing and updating the data is where i'm having problems--coming
from an environment where all the objects are data-aware and the
updating happens automatically behind the curtain. so given a set of
rows from a JOIN, populate text fields, then edit one of the details,
how to get the updated data back to the db? i've looked at some good
examples and it ~appears things are managed by sync'ing a primary key
in all the objects needed to display data. fire a change event in the
graphical objects, which lets the data object know to retrieve values
from the display and execute an update to the db. but what tables to
update? or do i simply update the rowset initially served up by the
join and send that back to the db and it is distributed automatically
to the appropriate joined tables? hmmm... i've got to check into
that... maybe that's part of knowing SQL well...

anyway, one good example i've traced worked with only one table and
even that got kind of complicated managing one key id between db
objects and various gui objects. i guess there was ~a lot~ happening
behind the curtain that i've got to learn ;) iyo-does it ever get
easy?

-mark
.



Relevant Pages

  • Re: Theres got to be a better way
    ... I work with annoyingly complex database tables whose structure ... Programming is all about reinventing the wheel. ... But we're still writing code must like we did 40 years ago. ...
    (comp.lang.php)
  • Re: Theres got to be a better way
    ... I work with annoyingly complex database tables whose structure ... changes as my client changes their requirements, ... Instead of repeatedly writing code to format output from the DB, ... Programming is all about reinventing the wheel. ...
    (comp.lang.php)
  • Re: Theres got to be a better way
    ... I work with annoyingly complex database tables whose structure ... changes as my client changes their requirements, ... Instead of repeatedly writing code to format output from the DB, ... ALways with programming it's bread and butter, ...
    (comp.lang.php)
  • Re: What is .net
    ... software) for installing and running ASP.NET desktop applications and Web ... You just want to learn, and have no experience programming (nothing ... relational database design in general and SQL Server in particular. ... don't ignore the topic of "relational database design" - ...
    (microsoft.public.dotnet.faqs)
  • Re: What is .net
    ... software) for installing and running ASP.NET desktop applications and Web ... You just want to learn, and have no experience programming (nothing ... relational database design in general and SQL Server in particular. ... don't ignore the topic of "relational database design" - ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)