phpBehind: what u think about it?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Bython
Forum Newbie
Posts: 2
Joined: Sat Feb 07, 2004 7:29 am

phpBehind: what u think about it?

Post by Bython »

Hi everybody, I've just discovered this website and this is my first post :)

Googling around I've found this interesting project: http://phpbehind.agilemovement.it/index.phpx

It aims to implement a sort of code behind in PHP. While there isn't code ready to download yet there are some working examples with sources and little explanations.

What do you think about the proposed approach? I personally agree with the author whoen he says that he hate the fact that most of the other project force developers to write a lot of configuration/initialization code just to let the engine work.

Cheers :)
jaxn
Forum Commoner
Posts: 55
Joined: Fri Jan 16, 2004 1:50 pm
Location: Nashville, TN

Post by jaxn »

That looks interesting. I would like to look over Page.php and see that the base class looks like. I would also like to know how it is handling authentication and permissions.

If you like ASP.NET you may want to check out WACT (http://wact.sourceforge.net/). It looks similar to ASP.NET to me.

-Jackson
Bython
Forum Newbie
Posts: 2
Joined: Sat Feb 07, 2004 7:29 am

Post by Bython »

Hi!!!
jaxn wrote:That looks interesting. I would like to look over Page.php and see that the base class looks like. I would also like to know how it is handling authentication and permissions.
me too but I don't think it handles authentication and permissions. Should it? Why?
jaxn wrote: If you like ASP.NET you may want to check out WACT (http://wact.sourceforge.net/). It looks similar to ASP.NET to me.
Thank you. I've already seen it and to me it requires too much "unneeded code" in every page to make it work (at least this is what I've read in the examples).

Am I wrong?
User avatar
Michael 01
Forum Commoner
Posts: 87
Joined: Wed Feb 04, 2004 12:26 am

Post by Michael 01 »

The one thing I would really like to see with PHP, is a predetermined time function that worked without a ton of code. Something along the lines of:

if ($registeredday<newtime("30","days","","")); {

You know, a function that had days in one category, a selection for month, day, year..etc in the other, and something for time expiration values for the others..something like that anways.

A person can always code them up to work that way, but again, it would be a nice 'default'.
Post Reply