Home  |  About  | Last |  Submit  |  Contact
AllQuests.com




Previous Question:  [ubuntu] 9.04 monitor refresh rates insufficient  Absolute Beginner TalkNext Question:  Making HTML Smaller  HTML and XHTML
Question Persistency with PHP ( SitePoint Forums PHP )
Updated: 2010-07-21 05:55:04 (4)
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

Answers: Persistency with PHP ( SitePoint Forums PHP )
Persistency with PHP

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

swiftone

Persistency with PHP

PHP 5 supports the OO techniques you are describing.

wisecounselor

Persistency with PHP

What are the new features ?? Functions prototypes??

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

tkx
Esqueleto

esqueleto

Persistency with PHP

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

swiftone

Previous Question:  [ubuntu] 9.04 monitor refresh rates insufficient  Ubuntu Forums  Absolute Beginner TalkNext Question:  Making HTML Smaller  SitePoint Forums  HTML and XHTML

- Source: Persistency with PHP SitePoint Forums PHP
- Previous Question: [ubuntu] 9.04 monitor refresh rates insufficient Ubuntu Forums Absolute Beginner Talk
- Next Question: Making HTML Smaller SitePoint Forums HTML and XHTML