|
Posted by Skybuck Flying on 01/09/08 18:55
Hmm,
Maybe I was too quick with my analysis of Netbeans.
The labels and pulldown works ok, but the button is already malfunctioning
and the textarea also malfunction and was not placed where I wanted it to be
placed.
Maybe "the web" is the worst invention ever invented for writing software
for. It wasn't ment to do what people want it to do today :)
Let's assume that netbeans is crap as well, then that leaves no real
alternative to develop a website with what you see is what you get with code
behind it.
Kinda disappointing.
Maybe I should advice my sister to take a hike, pay xxxx euro's for a web
company which does know (?) how to develop websites, which does have the
correct tools and know how and experience and such.
But somehow I doubt they will do a good job or will be cheap.
It's probably gonna be major/big expensive.
One possibility might be to use the html generated by Intraweb which seems
to do it best at the moment and simply use that in a cgi application.
So then I can use intraweb's easy designer and use it's html output for a
cgi application.
With added benefit that it can all be done from Delphi IDE.
Another possibility might be to give DreamWeaver a try and maybe use that to
make a beautifull well placed website and then use it's html generated in a
cgi application.
However the drawback of cgi application is cutting and pasting of html all
the time when changes need to be made to the gui, so it's not really a good
possibility it just takes too much time.
If I had to make the same application in Delphi for Win32 I would be done by
now garantueed.
I would have developed that application in like maybe one day, at least my
simple demo.
But ofcourse a standalone app doesn't do the same things as a web apps does.
The stand alone app would need to communicate with a server somewhere else.
It would need to be secured.
That's where other servers come in... maybe communicate via tcp... maybe
communicatie with a http server and some form of simple web app or cgi which
simply excepts certain commands.
But then I am back to square one again. Having to make the cgi... well at
least the gui stuff is then not necessary.
I did think about a last possiblity:
Maybe develop a web development method myself.
The easy idea is:
1. Develop a website/webgui with a good web designing tool.
2. Place special tags inside the controls or html.
3. Write a replace tool which simply replaces the special tags with code to
be executed, that would be too difficult because compiler/pascal code would
need to be copy and pasted that would get messy.
So a better alternative would be an insertion point for data....
The replacer need to replace the tags with the data from the
sql/queries/logic etc.
So future investigation will probably be:
1. Find a pirate for dreamweaver if it's not free, try dreamweaver.
2. Try placing special "tags" inside the gui controls.
3. Try replacing those special tags.
This could actually be pretty simple if the gui doesn't have to scale.
Say you need a grid with 5 by 5 rows or columns or so that can be setup
statically and the tags can simply be placed in there.
If the gui has to scale... like more rows and more columns... that things
will get difficult because of each data extra tags have to be added.
Maybe this is an idea for future research for people that can write parsers:
Instead of creating gui controls and markup languages.
Integrate the markup languages into the data types so that programmers can
describe how data fields are to be displayed.
Maybe something like/I'll give it a try:
TmyRecord = record
Label: 'FirstName' Edit: Content of String
mFirstName : string;
Label: 'LastName' Edit: LastName
mLastName : string;
Label: 'HairColor' PullDownList: 'some strings here'.
HairColor : string
end;
Oh well.
Bye,
Skybuck.
Navigation:
[Reply to this message]
|