[ https://sourceforge…s/forum/1321736 ], if you want you can read it there and participate. Also, I need more programmers. If you want to participate, please contact me by email or write on the forum.
I have another question - how do I implement the URL in PHP using the Yii framework? I want to create some pages, for example www.speedy.net/about , but users will also be able to create pages such as www.speedy.net/username . A user will be able to create up to 10 pages with usernames, and unlimited pages under his username. Also, I don’t want to use the “?=” notation at all, only URLs with slashes. for example www.speedy.net/urievenchen/photos will lead to my photos. www.speedy.net/photos/urievenchen will be the same. How do I implement the URL? I know it works in my blog [wordpress], but not on the main website.
It happen that I wrote an article about exactly this - advantages and disadvantages of framework programming, with a special reference to Yii framework. If you are interested in reading it, please contact my via PM (personal message) and I’ll send it a copy of that article.
Like were? A cookbook article? I’m not sure, if it is enough Yii-oriented to be published there.
I’ve sent it to Qiang with proposition of publishing somewhere and got reply that article is OK (with few minor corrections) but no reference to publishing it among community! :] Therefore I assumed that it is it much theoretical bla bla bla to be shared among specific Yii community! :}
As a part of preparation for above mentioned article I’ve read two or three Ph.D. theses about theoretical background and all the work done upon creating own framework. All I can say after that reading is that Qiang has done something that only a really small group of people on this planet is able to do! I don’t know like others, but I personally would have to be hit by a low flying airplane, directly to my head, to get at least thinking of creating own framework! :]
Yeah… and after all those years you wake up one day or another and see what a person like Qiang done within only three years, which is far, far better than this bunch of reusable code and you think to yourself: Damn, I was stupid! ;} :} ;}
For permanent pages you could consider using urlManager with including index.php in address turned off and by creating new controller (for example aboutController) with default action showing contents of that page. But this is as ugly solution as we can imagine. Therefore, your idea with using that extension sounds much more reasonable.
For non-permanent user creatable pages, I would rather consider using .htaccess file or permanently configuring Apache server so it would threat (redirect) pages like yourpage.com/username to for example yourpage.com/users/showuser?user=username. Then you could create simple usersController with showuser action to show whatever you want for passed username.
Since htaccess is already being used to redirect all requests via index.php, how would that work? Also how will it determine that mysite.com/username refers to a user page, rather than another page on the site?