SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Persistency with PHP

    Hello

    I'm a PHP programmer that in past few months I've develop some WebSites with .NET.

    I don't want to compare the languages with this post, what i want to know is if there is some feature that i can use.

    One of the good things in .NET that I used a lot was reflection. With this i can follow all the properties and methods in my Classes.
    For exemple I had defined an Class Object only properties and a Module Control that run all the properties and is values and create a SQL Statement (INSERT, UPDATE, DELETE and SELECT).

    With this Module object my crew stop worry about SQL Statement and with the Data Access Layer. This Module does all of this.

    Now I need to come back to PHP and do some stuff and I would like to know how can I implement this kind of feature.

    Any one can help me?


    (())
    Esqueleto
    Odivelas - Portugal

  2. #2
    SitePoint Zealot swiftone's Avatar
    Join Date
    Mar 2005
    Location
    Sunny Florida
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Curl

    I am not 100% sure that I follow what you are looking to do, but perhaps you can look into the 'curl' functions.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2005
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP 5 is what you need

    PHP 5 supports the OO techniques you are describing.

  4. #4
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ??

    What are the new features ?? Functions prototypes??

    There is no way o doing that with PHP 4.3.10 version?

    tkx
    Esqueleto

  5. #5
    SitePoint Zealot swiftone's Avatar
    Join Date
    Mar 2005
    Location
    Sunny Florida
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sorry, try these.

    Sorry for the previous post about 'curl'. I feel stupid now after looking into reflection more.
    Perhaps you will find this more helpful:
    get_class_methods
    reflection
    Happy Coding,
    Swiftone

    Unique Web Sites


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •