Click here to Skip to main content
15,992,505 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello guys i want to know this for my learning purpose coz i want to try to built this website my self .so, i want to know that how is this site
http://o2tvseries.com/ is using php framework.
If you see the site it first show category which can be index.php and then you choose a category it show a page and then you select any tv series now that i dont understand how is this working , every page you go to that selected tv series in index.html

so i want to know that how i can built this website , searching on google i found that it might be done using html template but i am not sure about it if guys can help that would be very helpful.

Thank you
Posted

1 solution

First of all, I went through many pages in that website and found none of the page are build using PHP. Perhaps you were referring to index.html

Another thing you might have missed to notice is although the page names are same i,e. index.html but the path is different, folders are different and so the pages are not the same. These are different pages with same name reside in different folder.
For Example:
Go to category d : http://o2tvseries.com/d[^]

Clicking Elementary will redirect you to
http://o2tvseries.com/Elementary/index.html

Clicking Empire will redirect you to
http://o2tvseries.com/Empire/index.html


So, they are different pages.

However, you can build your website using various methodology if you want it to happen that way. Check following links-

1. Multiple sections in the same page controlled by Javascript
http://stackoverflow.com/a/8211324/1006297[^]

2. Single Page Applications

The Future of Web Apps – Single Page Applications
[^]
Create A Single Page Application Using Templates With Angularjs And Bootstrap[^]

There are many more...don't forget use Google Search.

Hope, it helps :)
 
Share this answer
 
Comments
tjnapster555 21-Nov-15 15:19pm    
i don't understand this single page application , the website i am talking about is no single page right! how i can make that using angularjs its not possible angularjs not populate different html page , it made to use one page only and change view depend on user attraction.

but if you think i can make this website using angularjs then can you give me some hints.

Thanks for time and reply to my question :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900