PHP Classes

Further...

Recommend this page to a friend!

      PHP Classes blog  >  How to Create a Simpl...  >  All threads  >  Further...  >  (Un) Subscribe thread alerts  
Subject:Further...
Summary:SQL OT
Messages:3
Author:Till Wehowski
Date:2015-08-06 10:09:21
Update:2015-08-06 19:29:47
 

  1. Further...   Reply   Report abuse  
Picture of Till Wehowski Till Wehowski - 2015-08-06 17:29:13
Well done!
- "base rules" without any SQL (?)
- And/Or Note the funny fact MySQL supports regular expressions as well ;-)
- The SEO topic can be extended, there is more than speaking-urls...

"the "index.php?id=653&page_type=blog&lang=en" problem"
is not a problem in every and any case.
But your right, Urls look nicer that way.

  2. Re: Further...   Reply   Report abuse  
Picture of Ashraf Gheith Ashraf Gheith - 2015-08-06 19:29:39 - In reply to message 1 from Till Wehowski
Thank you for your notes :)

  3. Re: Further...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-08-06 19:29:47 - In reply to message 1 from Till Wehowski
Yes, making a database query every time you need to access a page with a nice URL, starts becoming expensive for for busy sites.

Maybe using a caching method to avoid a database hit would help there.