![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Feb 2006
Posts: 40
Rep Power: 0
![]() |
full web site
I want to make a full website consisting of a series of php pages.It will include login as well.So it is going to have sessions as well.And it is going to have an administrator panel.What steps should I take?? I havent prepared a full website before so I need a guidance...
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Are you sure you're pursuing the right resource first? I would definitely suggest some books and tutorials and reserve the forum for specific questions or questions regarding problems. Just my opinion and approach, of course.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Feb 2006
Posts: 40
Rep Power: 0
![]() |
Im sorry dawei but when I write on the google "How can I build a web page", it doesnt return accurate results. Yes it is a general question but I thought someone may have a format and pursuing this while building a web-site. I hope u get what I mean. I want the logic this time, not the code...If u are not interested in answering, plz do not write anything and let me share my problem with other people...
|
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
I always have a header file, which contains the necessary stuff for the lay-out, functions I may need, etc. It looks something like this:
header.php <html>
<head><title>Blahdieblah</title></head>
<body>
<?php
function footer() {
?>
</body></html>
<?php
}
// code to connect to a database, check session, some additional functions, etc.
?>For bigger sites, I also use a global.php file, which contains a number of global values. Using the header file would be something like this: index.php <?php header(); ?> Welcome to this website. <?php footer(); ?> You understand that this are the basics, but if you expand this structure you will get a nice content manager. |
|
|
|
|
|
#5 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#6 | |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Quote:
2. An analysis of what you need to do, how you need to do, where do you have to begin with, should be done. 3. For the above, I would recommend you to go through the first section (summary wud do) of the book "Web Design: The Complete Reference" by "Thomas A. Powell". (FIRST SECTION includes around 3-4 chapters. Just Read them!) |
|
|
|
|
|
|
#7 | |
|
Professional Programmer
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Hobbyist Programmer
|
draw it out on paper. Your description is very vague and you can't really plan what you need for a website by saying it "needs login" and "administrators panel". What pages and sections will the page have. Will all pages require you to login? How are you storing user information and page information? (mysql ..etc). What would the administrator be able to do?
You should actually draw out a diagram to help visualize it. Start with the main entrance page and then draw out where you want the visitor to go from there, and what the page will use.
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#9 |
|
Programmer
Join Date: Feb 2006
Posts: 40
Rep Power: 0
![]() |
What I wanted to achieve is getting more proffessional in building websites.I have made lots of automations with php and mysql.But here Im given something that I havent done before.A full website as I declared.Im not asking any of you code.What Im asking is what should I do to make it quicker and efficient.For ex: Today I have found a document about sessions and I have seen that I have some more missing parts just like garbage collections importance and some session functions maintaining these and affecting the performance of the application.
It came through and I read the article.I learned.I think this is one important point.What I want from u is to share ur experiences with me.I have to make this website as quick as possible,so I dont want to make mistakes and roll back!!!If u can tell me what I must be careful about(security,coding etc...),U will really become helpful. I hope u all understand what I need... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|