Page 1 of 1

phpBehind: what u think about it?

Posted: Sat Feb 07, 2004 7:29 am
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 :)

Posted: Sat Feb 07, 2004 9:39 am
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

Posted: Sat Feb 07, 2004 11:17 am
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?

Posted: Sat Feb 07, 2004 12:44 pm
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'.