PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Nov 13, 2019 12:46 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Dec 11, 2013 12:29 am 
Offline
Forum Newbie
User avatar

Joined: Tue Dec 03, 2013 1:33 am
Posts: 23
Location: Cyber World
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.


Top
 Profile  
 
PostPosted: Wed Dec 11, 2013 2:22 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
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 .


Top
 Profile  
 
PostPosted: Wed Dec 11, 2013 2:31 am 
Offline
Forum Newbie
User avatar

Joined: Tue Dec 03, 2013 1:33 am
Posts: 23
Location: Cyber World


Top
 Profile  
 
PostPosted: Wed Dec 11, 2013 1:45 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
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.


Top
 Profile  
 
PostPosted: Thu Dec 12, 2013 12:13 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US

_________________
(#10850)


Top
 Profile  
 
PostPosted: Thu Dec 12, 2013 12:15 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US

_________________
(#10850)


Top
 Profile  
 
PostPosted: Fri Dec 13, 2013 6:37 am 
Offline
Forum Newbie

Joined: Fri Dec 13, 2013 6:13 am
Posts: 1
Great information. Very useful to me. Actually I was searching the same since many days. Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group