|
Posted by jazzslider on 10/16/06 18:30
I would definitely be excited to see some kind of native XForms support
in PHP...I haven't ever used Eclipse, though, so I don't really know
what that would entail. I generally do all my development in
Dreamweaver's source code view, since it's what I started with.
I also really like the idea behind AJAX, but I have thus far avoided
writing any of the necessary JavaScript to make that kind of solution
work...every time I've tried, it's been nearly impossible to debug.
The nice thing about XForms in comparison to forms enhanced by AJAX
techniques is that with XForms, the person developing the form (i.e.
myself) doesn't have to write the scripts necessary to make the really
useful stuff (validation, dependent select fields, tab switching, etc.)
happen...rather, XForms is a descriptive language which relies on the
scripting written into the implementation running it.
So, I guess what I'd really like to see is a native PHP XForms
extension that would generate AJAX-enhanced web forms from XForms +
XHTML source code, at least until browsers support XForms natively.
After THAT happens, I'm not sure we'll hear much about AJAX anymore, at
least not for this kind of work.
M wrote:
> you are all right - the things you ask for (Jeremy
> jazzslider@gmail.com) are exactly what i need too.
>
> but i thought that in the next php version on eclipse (it is going to
> be mvc design) we can desing a php screen + convert it to xforms and
> use php on the server side or even just:
> "put" and "get" from the server in order to get/send data.
>
> but i don't know if "zend" is going to do that.
>
> frothpoker wrote:
> > sounds like a job for AJAX
> >
> > AJAX allows you to load a page of HTML and then using javascript
> > enabled events you can validate information on the form (in elements of
> > the DOM) and carry out inline replacements of various sections (e.g.,
> > you need a different authorisation process if the order value is over
> > £1000) or can check information or combinations of information without
> > having to submit the whole form and then return the results if they are
> > not what was required.
> >
> > It requires javascript to be enabled on the client PCs and you will
> > need to be running IE6 or the latest version of mozilla (firefox) or
> > opera but is platform independant.
> >
> > I'm not convinced of its uses on external web sites but for intranet
> > usage where you have more control over the settings users have on their
> > PCs it should be ideal. There are several commercial packages with
> > pre-built AJAX classes which should ease the pain.
> >
> > One of AJAX's best features (and the most annoying is web forms) is
> > where you have a huge drop down list (say 50000 people in a company and
> > you need to find a name - e.g. Wyznkcsky. in a web form you type 'W'
> > and the list jumps to the start of W and then you type 'Y' and the list
> > jumps to the start of Y - Arrrgh!. With an AJAX enabled form the list
> > is simply filtered to give you all the people who's names either start
> > with or contain 'WY' - Ta Dah!)
Navigation:
[Reply to this message]
|