monkinetic the blog

Chat Transcript

monkinetic: ok, and the little box is saying that the WOReq is the parameter for that call
JimRoepcke:
the box in the parenthesis is the parameter to the message. the solid arrow points to the object being sent as that parameter.
monkinetic:
ok…
JimRoepcke:
exactly
monkinetic:
and the form data arrow just shows where the elements are going to get their value
monkinetic:
from the formData NSDict
monkinetic:
now wait a minute
JimRoepcke:
form data arrow?
JimRoepcke:
oh, right
monkinetic:
the request always gets posted to the component it came from? which then decides what to send next?
JimRoepcke:
right!
JimRoepcke:
remember, the action method is called on current component, which returns the next component to return to the browser.
monkinetic:
this is going to take some getting used to
monkinetic:
no wonder WO developers go nuts when they have to work in another environment
monkinetic:
it’s like going back to assembler or something
JimRoepcke:
the action method is called on the SAME instance of your component class that was used to generate the page that the user just clicked on.
JimRoepcke:
why do you think i’m calling ASP Assembly Server Pages
monkinetic:
got it
monkinetic:
muahaha
monkinetic:
Wo turns quite a few of my web dev paradigms on their heads
JimRoepcke:
yup.
monkinetic:
like what forms and app components do - i’m used to forms pointing to the next page in line
JimRoepcke:
and having to stuff the page with as much shit as possible to make sure the next one gets what it needs.
monkinetic:
it’s almost like there are no “pages” in WO
monkinetic:

JimRoepcke:
with WO, you do all the “stuffing” and passing on the server side, not the client side.
monkinetic:
well, and the whole idea of a “sending page” and a “recieving script” are stood on end too
monkinetic:
er, is stood on end
monkinetic:
brb
JimRoepcke:
you get to think of the forms more like traditional gui forms, the values from your forms are just THERE, you don’t have to do anything special to get the values into the forms and out of the forms. just bind the form elements to your objects and everything works.
monkinetic:
that’s the rub - WO was developed by application developers, who wanted to make it like cocoa programming
monkinetic:
i come from the traditional web development background
monkinetic:
so i don’t know what “traditional gui forms” are! ;)
JimRoepcke:
just ignore that then.
JimRoepcke:
all that matters is that all the grudge work in web development is done for you by WO.
monkinetic:
yeah… wow
JimRoepcke:
drudge work, i meant, right