Back when I wrote the third edition of Build Your Own Database Driven Web Site Using PHP & MySQL , it was still acceptable to lump all of the code together to generate a web page into a single file, and then use a URL naming that file to access the page.
More...
It's a pretty simple technique, but isn't it amazing how long it takes people to realize their code should be broken out into files?
As I was reading the full article (which is here Pretty URLs: Pretty Easy! ) I kept wondering if I were going back in time. Hasn't this naming convention been the standard for years, if not purely for SEO reasons?
I think the problem shows up when you're learning the basics of web development. I've been working on CSS menus a lot lately. There's one site that wants you to pay for the code explained, even though there are a dozen sites out there with substantially the same (independently developed) code that's in the public domain. You have to wonder what's going on when people are trying to get paid for pretty well-known techniques.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks