Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Internet
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Reply Start New Thread
 
Old 08-23-2013, 04:17 PM
 
Location: LA, CA/ In This Time and Place
5,443 posts, read 4,682,349 times
Reputation: 5122

Advertisements

Hello all

I have one question, and I know there are more than one answer, so I will look into it all. Should a use a program on my computer, which is a PC or use a site builder?

I have to say I want to be able to make it a live site(obviously) so other users can use it for their own benefit.

So think of it this way, suppose I wanted to create "City-Data", how would I have gone about doing it?

Thanks in advance, I remember I created my own website eight years ago when I was senior in high school, but it was just several web pages, no more than ten in which I designed it and all those details.

It was an old computer, lol.

Reply With Quote Quick reply to this message

 
Old 08-23-2013, 05:36 PM
 
41,813 posts, read 51,080,948 times
Reputation: 17865
Do you want the easy directions or "I want to learn" directions?
Reply With Quote Quick reply to this message
 
Old 08-23-2013, 08:57 PM
 
Location: Bolton, CT
200 posts, read 241,517 times
Reputation: 113
Well, if you want to build something like City-Data, you can't think of it as a web site of pages; it's a system. There are no pages to build; there are types of content (in this case, posts, messages, etc.); there are queries to gather these content objects based on any number of criteria; there are content relationships; there are users, permissions, and profiles; there are rating and flagging systems, etc.

In the case of City-Data case, vBulletin was used. There are also many other options. Or, you could use a framework to roll your own based on a specific set of requirements.
Reply With Quote Quick reply to this message
 
Old 08-23-2013, 11:16 PM
 
Location: LA, CA/ In This Time and Place
5,443 posts, read 4,682,349 times
Reputation: 5122
Quote:
Originally Posted by thecoalman View Post
Do you want the easy directions or "I want to learn" directions?
Both would be good, mostly "I want to learn" directions.
Reply With Quote Quick reply to this message
 
Old 08-23-2013, 11:17 PM
 
Location: LA, CA/ In This Time and Place
5,443 posts, read 4,682,349 times
Reputation: 5122
Quote:
Originally Posted by sgorneau View Post
Well, if you want to build something like City-Data, you can't think of it as a web site of pages; it's a system. There are no pages to build; there are types of content (in this case, posts, messages, etc.); there are queries to gather these content objects based on any number of criteria; there are content relationships; there are users, permissions, and profiles; there are rating and flagging systems, etc.

In the case of City-Data case, vBulletin was used. There are also many other options. Or, you could use a framework to roll your own based on a specific set of requirements.

Yes I want people to be able to use my website and post messages and other types of contents they wish to, and of course free.
Reply With Quote Quick reply to this message
 
Old 08-24-2013, 01:23 AM
 
41,813 posts, read 51,080,948 times
Reputation: 17865
Quote:
Originally Posted by Nema98 View Post
Both would be good, mostly "I want to learn" directions.
Well for site like this you could just get a hosting plan and in the control panel they will have one click install for phpBB which is forum software similar to this. That's the easy directions.....

Beyond that first install XAMPP on your computer. This is a preconfigured apache server meant to be used locally for testing environment. It comes with all the things like PHP and MySQL that you need to simulate a website on you local computer for testing purposes.

Open the XAMPP control panel and start Apache and MySQL, you can configure this so they start automatically when you open the control panel. Now type into your browsers address bar: http://localhost/

If you open the folder XAMPP is installed in and then the htdocs folder you're going to find a file in there called index.html or index.php, I forget which. That is where what you see in your browser is coming from. You can type in http://localhost/index.html and it will be the same content. When a request comes into a server and there is no file specified index.XXX is the default file served.


From there you're going to want to have a basic understanding of these five things in particular the first two, when I say basic understanding you want to understand how they interact and what part they play.

HTML - this is what is served to the clients browser. It's the content and provides structure for your content.
CSS - This provides formatting for your content. Colors, positioning, font sizes etc.
Javascript - This executes on the clients computer. For example when you insert a smilie into a post here by clicking one that is done with Javascript.
PHP - This is a server side programming language, it "does things". It's executed server side and does all kinds of things like gathering information from database.
MySQL - This is a database and it stores information, in this context you can look up in the corner and see information about your self "You last visited...." that information was stored in a database.

Download and install Notepad++. This is a text editor specifically made for editing HTML, PHP and many other languages. Head over to tutorials for HTML: HTML Tutorial and create a test file in Notepad++. When you save your test file save it to the htdocs folder as test.html, open in your browser as http://localhost/test.html

If you feel like it open the index file in the htdocs folder and edit it... there is no harm you can do by editing any file in this folder.

Now go the CSS tutorials, CSS Tutorial. Take your test file and apply some CSS. You can also look at the existing files in htdocs for existing examples. When you're done messing around move or delete all the files in the htdocs folder to somewhere else.


-----------------

Now lets get crazy. Download and install phpBB. You can get that here, you'll want the full package.

https://www.phpbb.com/downloads/



This is open source and contains everything you need to have forum like this one. Now if you're not looking to create a forum and are more interested in just a regular website look at something like Drupal, Wordpress or Joomla. These are all free. Any of these packages are going to have instructions in them for installing them. Once you unzip them look for a file called........ install.txt or install.html.

Specifically for phpBB once you unzip it there is folder called docs. Follow the directions for installing, I believe the directions are for host so any instructions will be relative to the htdocs folder.

Once installed familiarize yourself with the admin interface etc. Create some forums, topics, talk to yourself. You can also look at some of the different styles and mods available that are easy to install. Now if you really want to be brave and use the knowledge you gained with the HTML and CSS tutorials find the styles/prosilver folder in the phpBB installation. You're going find three folders there.

Templates - These are special HTML files used by phpBB. When the PHP script executes on the server it will gather the required templates. Within the templates are placeholders and switches. You're going to see something like {USERNAME}, the script has already gathered that information from the database and replaces {USERNAME} with something like Nema98 and then spits it out as regualr HTML to the browser.

Theme - this contains the CSS files.

Imageset - speaks for itself.

Once you have familiarized yourself with this you're ready to go live. The beauty of having XAMPP is you can prepare your forum beforehand, unless you have installed mods or styles there is very few files you need. You install phpBB on your host, you export the database in the maintenance tab of yout XAMPP install and import on your live site.

This is really just a brief overview, there will certainly be many speed bumps. You can spend months doing what I've described here.
Reply With Quote Quick reply to this message
 
Old 08-24-2013, 01:26 AM
 
41,813 posts, read 51,080,948 times
Reputation: 17865
Quote:
Originally Posted by Nema98 View Post
Yes I want people to be able to use my website and post messages and other types of contents they wish to, and of course free.
Keep in mind phpBB is forum software just like what you're using here. If you're looking for something more content based like a regular website look at Drupal.
Reply With Quote Quick reply to this message
 
Old 08-24-2013, 06:34 PM
 
Location: Raleigh, NC
19,446 posts, read 27,860,991 times
Reputation: 36126
Content based, I'd be looking at WordPress. Easy to learn, easy to use, easy to set up.

Want a forum? I think there's a plug in for that. But with Wordpress, user's can comment on what you've written.

so if it's a blog and user comment format you are thinking of (versus a forum like this), seriously consider WordPress.
Reply With Quote Quick reply to this message
 
Old 08-27-2013, 07:53 AM
 
Location: Cleveland, Ohio
16,551 posts, read 19,717,250 times
Reputation: 13336
ALternatively:

Webs - Make a free website, get free hosting

Free Website Builder | Create a Free Website | WIX

Edge to Wix for user friendliness.
Reply With Quote Quick reply to this message
 
Old 08-28-2013, 03:17 PM
 
Location: LA, CA/ In This Time and Place
5,443 posts, read 4,682,349 times
Reputation: 5122
Quote:
Originally Posted by thecoalman View Post
Well for site like this you could just get a hosting plan and in the control panel they will have one click install for phpBB which is forum software similar to this. That's the easy directions.....

Beyond that first install XAMPP on your computer. This is a preconfigured apache server meant to be used locally for testing environment. It comes with all the things like PHP and MySQL that you need to simulate a website on you local computer for testing purposes.

Open the XAMPP control panel and start Apache and MySQL, you can configure this so they start automatically when you open the control panel. Now type into your browsers address bar: http://localhost/

If you open the folder XAMPP is installed in and then the htdocs folder you're going to find a file in there called index.html or index.php, I forget which. That is where what you see in your browser is coming from. You can type in http://localhost/index.html and it will be the same content. When a request comes into a server and there is no file specified index.XXX is the default file served.


From there you're going to want to have a basic understanding of these five things in particular the first two, when I say basic understanding you want to understand how they interact and what part they play.

HTML - this is what is served to the clients browser. It's the content and provides structure for your content.
CSS - This provides formatting for your content. Colors, positioning, font sizes etc.
Javascript - This executes on the clients computer. For example when you insert a smilie into a post here by clicking one that is done with Javascript.
PHP - This is a server side programming language, it "does things". It's executed server side and does all kinds of things like gathering information from database.
MySQL - This is a database and it stores information, in this context you can look up in the corner and see information about your self "You last visited...." that information was stored in a database.

Download and install Notepad++. This is a text editor specifically made for editing HTML, PHP and many other languages. Head over to tutorials for HTML: HTML Tutorial and create a test file in Notepad++. When you save your test file save it to the htdocs folder as test.html, open in your browser as http://localhost/test.html

If you feel like it open the index file in the htdocs folder and edit it... there is no harm you can do by editing any file in this folder.

Now go the CSS tutorials, CSS Tutorial. Take your test file and apply some CSS. You can also look at the existing files in htdocs for existing examples. When you're done messing around move or delete all the files in the htdocs folder to somewhere else.


-----------------

Now lets get crazy. Download and install phpBB. You can get that here, you'll want the full package.

https://www.phpbb.com/downloads/



This is open source and contains everything you need to have forum like this one. Now if you're not looking to create a forum and are more interested in just a regular website look at something like Drupal, Wordpress or Joomla. These are all free. Any of these packages are going to have instructions in them for installing them. Once you unzip them look for a file called........ install.txt or install.html.

Specifically for phpBB once you unzip it there is folder called docs. Follow the directions for installing, I believe the directions are for host so any instructions will be relative to the htdocs folder.

Once installed familiarize yourself with the admin interface etc. Create some forums, topics, talk to yourself. You can also look at some of the different styles and mods available that are easy to install. Now if you really want to be brave and use the knowledge you gained with the HTML and CSS tutorials find the styles/prosilver folder in the phpBB installation. You're going find three folders there.

Templates - These are special HTML files used by phpBB. When the PHP script executes on the server it will gather the required templates. Within the templates are placeholders and switches. You're going to see something like {USERNAME}, the script has already gathered that information from the database and replaces {USERNAME} with something like Nema98 and then spits it out as regualr HTML to the browser.

Theme - this contains the CSS files.

Imageset - speaks for itself.

Once you have familiarized yourself with this you're ready to go live. The beauty of having XAMPP is you can prepare your forum beforehand, unless you have installed mods or styles there is very few files you need. You install phpBB on your host, you export the database in the maintenance tab of yout XAMPP install and import on your live site.

This is really just a brief overview, there will certainly be many speed bumps. You can spend months doing what I've described here.

Thanks this had been really helpful!
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:

Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Internet

All times are GMT -6.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top