FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Iterative interfacing between client and server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Iterative interfacing between client and server [message #169807 is a reply to message #169794] Mon, 27 September 2010 13:03 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On 27 Sep, 03:06, Graham Hobbs <gho...@cdpwise.net> wrote:
> Hello,
>
> Am still new at this, need to understand a concept before I start
> coding. While the following is an over simplification, at the moment I
> am more concerned with a) 'can it be done', b) preparing a design
> document, so ..
>
> 1. my website will be driven by server pgm php1
> 2. client accesses the one page website
> 3. client enters/edits data in Forms ( to be javascript edited at
> client machine) then submits
> 4. pgm php1 receives the form data, passing it to a Windows cmd file
> (calling dozens of pgms) for further processing and returning data to
> php1
> 5. php1 then returns the same page to the client with mostly the same
> Form data but with additions and changes
> 6. client views the Form data
> 7. Repeat 3 thru 7 until client happy with results.
>
> So is my concept:
> - feasible?
> - reflects the way it's normally done (i.e. practical)?
>
> Please, thanks in advance
> Graham

I'm not sure what you mean by: "to be javascript edited at client
machine", but in general you are describing a pretty standard
approach, until you reach the part that says:
"passing it to a Windows cmd file (calling dozens of pgms) for further
processing and returning data to php1"

It is more normal to perform one's processing in the programming
language of the file that receives the form data. Running "dozens of
[Windoze] programs", sounds like it could be a time consuming task,
fraught with the possibilities that one of them has an error that you
somehow have to handle and return to the user. It is occasionally
necessary to execute a shell program, but most people try to avoid it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: instructor solution manual for Electrical Machines, Drives and Power Systems (6th Ed., Theodore Wildi)
Next Topic: Array count for each value in turn syntax?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 11:43:06 GMT 2024

Total time taken to generate the page: 0.05155 seconds