• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie


  • Subject: Re: newbie
  • From: Jim <email@hidden>
  • Date: Sun, 9 Feb 2003 14:28:51 -0500

If you are wanting this for nice dynamic pages, I would read a book on Java and then read the nicely organized webojects manual that comes with 5.2. The best analogy I can give from php is this.

In php when you want to call and do something with Mysql, you need to do everything. Open database, select what you want then apply the results to the a page.

With webobjects and the EOM Modeler, you create the structure of the database (in EOM Modeler). Then you tell EOM to create the tables and rows in Mysql (or read the existing structure of a database and store in as a EOM file). Once this is done, you can now add the EOM model to your project (WO application). Because the model matches the structure of your database, WO can now include talking to the database. The best example of how this works is using Dreamweaver php/mysql dynamic pages. You set up the connection (in WO terms this would be configuring the EOM Modeler and setting up the tables and connect, as well as the adapter and adding this to your WO project). In Dreamweaver, you can see all the fields in the database and add ie a repeating region. The idea in very similiar with WO but all the coding is either done in Java or through the use of xml style tags that your application fills when delivering the page as the application runs on the server.

Because all the customized coding is done in Java, knowing it is completely invaluable. Similiar to using Dreamweaver and the dynamic pages but not knowing php. If you want to tweak something, you code it and be done with it. In both if you do not know the native language, tweaking becomes impossible.

If you get a grip on Java 2.0 and spend most of your time on the principles of OOP, like classes, methods, implementation, extending... you can look at the examples in the Apple manual and the pieces should fall into place. This means you need not read much on JDBC since WO handles most of that stuff for you, again unless you want to do something customized.

I have all the current books from third parties and the Apple manual does the best job cruising you into getting started. (that is my own opinion and did migrate from php and mysql as you mention you are doing) My biggest leap was to understand how the parts of webobjects fall together to build a page and where I need to code in Java for certain pieces of the page.


JIm







On Saturday, February 8, 2003, at 10:29 PM, Tomek Klas wrote:

hello,

I am a brand new WO user. Currently I am using PHP/MySQL combination.

Is there any good resource on line where i can get a comprehensive information/tutorials about WO5.2 and learning Java?

All I could find is out of date...

Thanx for help

Tomek
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >newbie (From: Tomek Klas <email@hidden>)

  • Prev by Date: Re: error with running Authors Application
  • Next by Date: WOPopupButton bind to database and dynamic dependant ( newbie question )
  • Previous by thread: Re: newbie
  • Next by thread: community feedback request (was Re: newbie)
  • Index(es):
    • Date
    • Thread