1 Replies - 563 Views - Last Post: 05 September 2011 - 01:03 AM

#1 guyfromri  Icon User is offline

  • D.I.C Addict

Reputation: 46
  • View blog
  • Posts: 836
  • Joined: 16-September 09

Good practices when setting up pages in my site

Posted 04 September 2011 - 10:09 AM

Hey guys!!

So, I've come pretty far in setting up my site. I'm now working on a staging version and making some changes that I feel will give it a more professional atmosphere. Here's one of the questions I have that I keep going back and forth on...

I'm implementing a strong mix of AJAX and PHP in my pages. What's a more efficient way of doing this? Should I set up a new page for every single view or should I populate each page differently with a series of $_GETS?

Here's an example to explain what i'm asking...

Would it be more "PC" to set up email like this


OR would it look more professional and be a more accepted way of doing it like this


I don't really know if this even makes a difference but I'm trying to figure out the best practices with web dev and sound like I might know what I'm talking about....

As always, thanks in advance!!!!

Is This A Good Question/Topic? 0
  • +

Replies To: Good practices when setting up pages in my site

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 4184
  • View blog
  • Posts: 13,226
  • Joined: 08-June 10

Re: Good practices when setting up pages in my site

Posted 05 September 2011 - 01:03 AM

if you use AJAX to create your websites, then the URL doesn’t change …

anyways, it would probably look best if you used URL rewriting (e.g. mod_rewrite on Apache) to make the pages more generic (i.e. no-one would know, if you changed the files behind it).

something like
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1