Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Remoting

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-07-2003, 07:54 AM   #1
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default some help with php classes please

Ok been doing all the Jesse's tuts on amfphp and every thing goes ok.

Right now im trying to convert some php functions(used with AS "loadVars" obj) on some php/mysql online mini store with flashMX front end to the remoting version.

Can some one trow me some light here about constructing php classes(also AS clasess will help).

Any help or pointers to the right direction are really apreciated!
zoomfreddy is offline   Reply With Quote
Old 05-08-2003, 06:29 PM   #2
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Are you familiar with classes at all in PHP, you would just need to overhaul your procedural code in PHP to classes, meaning OOP, meaning data encapsulation. Not sure what you are looking for, are you looking for tutorials on classes in PHP, examples, etc...?
freddycodes is offline   Reply With Quote
Old 05-08-2003, 11:17 PM   #3
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

Hi there Freddycodes...hehe, sounds like me with other nick...

any help/tuts/examples with php- AS classes in general is usefull, been doing some OOP, but haven't made any class yet, and i noticed the need to encapsulate php functions in to classes for remoting stuff, always want to extend my knowledge, you know how this is .

thanks FYH.
zoomfreddy is offline   Reply With Quote
Old 05-20-2003, 07:24 AM   #4
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

no tips/help/links at all?...
zoomfreddy is offline   Reply With Quote
Old 05-20-2003, 07:11 PM   #5
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Yeah sorry I forgot about this thread. Check into
www.phppatterns.com
www.phpclasses.com
www.devshed.com
freddycodes is offline   Reply With Quote
Old 05-21-2003, 03:43 AM   #6
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

hey!!!, thanks for the links( some time ago i looked in to phpclasses site...nice)
the other 2 look interesting...ok, lets start with the questions:
do you know where to find some practical example?..., i been reading the theory for the classes, but haven't got the logic behind yet(looks like black magic to me ), i mean, is there a difference in using just functions instead of functions inside classes for small projects/apps?(i read that there is indeed difference on large projects).

As far as i understand, the classes are similar to prototypes, but you can make available all the stuff inside until you need it, and that is what you get with functions...(here is where im loosing it)
if this is correct, what are the advantages? correct me if im wrong, please.
zoomfreddy is offline   Reply With Quote
Old 05-21-2003, 04:30 AM   #7
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

I would really give a crappy answer, I am still learning all there is to know about OOP. Basically classes are abstract representatiions of objects. Complete with methods(functions) and properties. Objects are instances of that class.


Read more here.
http://www.sitepointforums.com/showt...threadid=59898
freddycodes is offline   Reply With Quote
Old 05-21-2003, 09:27 AM   #8
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

that thread rocks... thanks a lot freddycodes!!! i start to see the light, yeeeesss!.
As it turns, i am 100% procedural guy(i make almost every flash stuff with custom functions/prototypes...mmm...lets blame Jesse and Collin moock for this )...long learning curve coming this way...yummy.

just in case someone else have the same questions:

Keywords: classes Classes OOP Oop oop

zoomfreddy is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.