Re: [Semanticscuttle-devel] Is there a future for using a framework?
Brought to you by:
cweiske
From: Mark P. <mpe...@gm...> - 2011-02-19 04:37:11
|
I don't claim to be an authority on this, but here's what I'm seeing on my Godaddy account. What I did was create a subdomain off my main account. And in that subdomain directory I copied the contents of Semantic Scuttle. Renamed the www folder to demo. Created database and launched. I was able to launch the app and register an account, but as soon as I logged in, I got the error "User with username demo was not found" so I did some troubleshooting and found that the PATH_INFO was returning "/demo/profile.php/markmark (where markmark is my username). Looking into the code it is essentially looking for PATH_INFO to return "profile.php/markmark". I was able to make it work by altering the line that parses the PATH_INFO but it was a hack to see if I could get it to work. I also performed an install on my home machine and created an alias /sc to the www folder and this works fine. I haven't attempted to alter my home machine to try and mimic my godaddy instance, but will probably do so this weekend. Now with that said, do I understand exactly what is causing it? Not completely. However, since there have been others who've had similar problems, I think we may benefit looking at altering the way we pull the URL information. I wouldn't call it simple, but it makes sense using a router class where all activity were to be routed through index.php. And obviously the next logical question is do we go one step further and adopt a framework and take advantage of some of the additional features of the typical framework? I know I probably didn't answer your question Chris, but I'd love to hear your experiences. Thanks, Mark Pemberton On Fri, Feb 18, 2011 at 11:05 PM, ch...@ch... <ch...@ch...>wrote: > Can someone provide a high level reason why clean URLs are so problematic > with Scuttle? I've never encountered the like with any other software! > > c > > On Feb 18, 2011, at 6:20 PM, Mark Pemberton <mpe...@gm...> wrote: > > > On my sleepless nights, I've been reviewing some of the various PHP > frameworks. I've played with Zend, CodeIgniter, a little CakePHP, and some > others who have less of a following. Wanted to see if this was something > that might be entertained in the future or is it simply too much overhead? > What brought it on was looking at options to resolve some of the URL > issues. I was looking at creating a simple routing class that allowed > everything to flow through index.php, but kept getting drawn toward the use > of a framework to do the routing. There are a number of benefits, but does > also include some drawbacks. > > > > Thoughts? > > > > > |