Re: WO NewBie
Re: WO NewBie
- Subject: Re: WO NewBie
- From: LD <email@hidden>
- Date: Wed, 2 Feb 2005 11:34:40 +1100
Hi there,
On 01/02/2005, at 5:44 PM, WELEMSKI wrote:
I have all the WODocuments in my pc am still havin'
prblems because there are no code in there that are
basic for a newbie like me.
Well (as much as you don't seem to want links - these should be
helpful)...
Apple's official guide for NewBie's:
http://developer.apple.com/referencelibrary/GettingStarted/
GS_WebObjects/index.html
http://developer.apple.com/documentation/WebObjects/
WebObjects_Overview/index.html#//apple_ref/doc/uid/TP30001008
But it sounds to me like you've not gone through the tutorial that Zak
pointed out (which, btw, is also linked from the above Apple reference
and below for convenience) or at least not in depth. It is designed for
the NewBie. If you're looking for the "quick hack" you're on the wrong
track. There's much to learn...
You will have no end of frustration until you've gone through the tut
(possibly more than once) so as to make sure that you understand the
concepts. It will not teach you everything, but it will give you a good
grasp of the basics of how WebObjects applications are built (at least
for the Web), from the beginning. Do it more than once as each time
you'll pick up something you didn't appreciate previously).
It's also important that you have a good understanding of Java & HTML
(the former being the more important as you begin your journey with
WebObjects). Thinking in OO is as important as understanding OO
concepts. With WebObjects you'll most often be dealing with [NS]Array's
of Objects rather than directly with database table rows/attributes.
Understanding the relationships of these Objects and how they map both
to the user interface and to the underlying data-store will help. See
the tut!
1) Sun has a helpful lesson on OO for Java:
http://java.sun.com/docs/books/tutorial/java/concepts/
2) Understanding OO for WebObjects is a combination of the above and:
http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/
Introduction/chapter_2_section_6.html
[for further reading ;-) have a read about Objective-C - highly OO]:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
index.html
3) Concurrently with the above, spend as much time as you need here
before doing anything else...
http://developer.apple.com/documentation/WebObjects/Web_Applications/
The examples, then, found on your computer after installing WebObjects
provide specific implementation examples for problems that you are not
ready for but that which will be handy later down the track.
No example code that explain the use of each method
only full of words and explaination full of letter and numbers and
no straight to the point explaination and no straight
to the point code examples...
Which ones? It'll be more helpful for you to ask these questions as you
do the tutorial - specifically on a particular example.
The only thing im getting is full of links... which I
already have them on my pc...
I suppose this is the nature of referencing. No use typing something
out all over again when someone else has already gone to the trouble of
doing so.
example code on how to retrieve a data on a specified
field.
Which field? Do you mean from the Database or from the Web (e.g., via a
WOTextField) or from a JavaClient app front end?
Either way, you'll pick up the basics of this following the tutorial.
For more advanced concepts see the links from my previous post and buy
Practical WebObjects (search Amazon - but it's not necessarily for
NewBie's. Perhaps 'buying' Java for WebObjects Developers and Practical
WebObjects would be a good bet).
example code on hot to retrieve a specified data on a
specified fields.
example code on comparing a data input on a specified
field.
example code on how to use the class generated by the
EOModel.
and with traight to the point explaination...
Again, do the tutorial. These concepts are reasonably simple enough but
they are found within a greater overall picture that you need to
understand. How will you fetch the objects, display their data, update
their data, save the changes...
Im really having trouble understanding the documents,
the examples shown is not something that i can
understand so easily...
Which parts don't you understand? Chapters 1-2 is an introduction, 3
your first project... where did you get stuck?
It's difficult to help without knowing what your level of understanding
is. e.g., If you've not done any/much programming before you'd be
better off starting to learn Java first and then come back to
WebObjects. Understanding Java (at a reasonable level) is a
prerequisite in all fairness.
Anyways I think i should read more and more until i
can understand all of them...
Yes. Ask specific questions on the tutorial as you go along...e.g., why
do they suggest x,y or z?
Well, no code examples found here. But it's not snippets of code that
you need at the moment... milk before meat :-)
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden