PHP Developers Network
http://forums.devnetwork.net/

Single-Page Architectures in PHP
http://forums.devnetwork.net/viewtopic.php?f=19&t=138881
Page 1 of 1

Author:  rugved [ Wed Dec 11, 2013 12:29 am ]
Post subject:  Single-Page Architectures in PHP

Hello!

I want to create a single-page architecture in PHP but I don't know where to start.

A single-page architecture is something similar to this: http://php.net/manual/en/internals2.str ... ecycle.php When we click on the Feedback & Ideas Form (on the right hand side) which is a different .php page, it is appears on top of the http://php.net/manual/en/internals2.str ... ecycle.php page. Also if you observe carefully, when it is clicked, the URL doesn't change.

Can anyone please provide me a tutorial for beginners on how to create single-page architectures like this? Thank you in advance.

Author:  requinix [ Wed Dec 11, 2013 2:22 am ]
Post subject:  Re: Single-Page Architectures in PHP

1. A "single-page architecture" is a bad design. Don't do it.
2. That's not a "single-page" anything to begin with. It's just a popup so you don't leave the page you were on.

The most common term for that is .

Author:  rugved [ Wed Dec 11, 2013 2:31 am ]
Post subject:  Re: Single-Page Architectures in PHP


Author:  requinix [ Wed Dec 11, 2013 1:45 pm ]
Post subject:  Re: Single-Page Architectures in PHP

Research is fine and all, but make sure you know what you're getting into before doing it. When people do it the two most common problems are (1) URL doesn't change which means pages can't be bookmarked or linked to or opened in other tabs, and (2) doing it so that back/forward buttons don't work and that closing and re-opening a tab doesn't display the same page but rather goes back to the "root" of the site.

Author:  Christopher [ Thu Dec 12, 2013 12:13 am ]
Post subject:  Re: Single-Page Architectures in PHP


Author:  Christopher [ Thu Dec 12, 2013 12:15 am ]
Post subject:  Re: Single-Page Architectures in PHP


Author:  Faheemkhan [ Fri Dec 13, 2013 6:37 am ]
Post subject:  Re: Single-Page Architectures in PHP

Great information. Very useful to me. Actually I was searching the same since many days. Thanks.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/