Gizmos Freeware Reviews  

Go Back   Gizmo's Freeware Forum > Freeware Forum > Website Software
Username:  
Password:

Reply
 
Thread Tools Display Modes
Old 03. Jun 2009, 02:51 PM   #1 (permalink)
Banned
 
Join Date: May 2009
Posts: 99
Default Building websites, using Web Applications.

Apparently a lot of people have trouble setting stuff up on various Internet servers. You can learn a great deal, and save yourself a lot of hassle, by installing and testing various web applications on your own "Local" machine.

This is done by using special software packages like WAMP ( This is an acronym formed from the initials of the packages used. Windows, Apache, MySQL, and PHP (or Perl or Python).

The open source package I mainly use is this one;
http://www.wampserver.com/en/

It will install a complete "integrated" server environment on your local machine. The "Default" settings will run a lot of packages as they are, but if you want to change environments and alter settings in the various packages then you need to learn a bit about them.

I also use this package for setting things up, and then exporting them to the servers they are to be used on. However, it should be remembered that various servers use various software and settings, and the settings you use have to match theirs if you want your software to run properly on your prospective target server.

At the very least, this and similar packages will allow you to "practice" for free with various web applications before you spend time and money on the web.

Regards.....

Mike Connor

Last edited by Mike Connor; 03. Jun 2009 at 02:58 PM.
Mike Connor is offline   Reply With Quote
Old 05. Jun 2009, 08:02 PM   #2 (permalink)
Under Thieves...
 
George's Avatar
 
Join Date: May 2008
Location: Toronto, CA
Posts: 386
Default

Here is another popular that I use:

http://www.apachefriends.org/en/xampp.html
__________________
Best regards, George
George is online now   Reply With Quote
Old 05. Jun 2009, 10:18 PM   #3 (permalink)
Foundation Editor
 
chris.p's Avatar
 
Join Date: Apr 2008
Location: Kent, UK
Posts: 1,095
Default

Google for 'xampp manual'
chris.p is online now   Reply With Quote
Old 05. Jun 2009, 10:40 PM   #4 (permalink)
Banned
 
Join Date: May 2009
Posts: 99
Default

I tried xampp for a while, but I had a lot of problems with it, xampp is also not recommended for use on a single machine. I found no good reason at all to use it instead of Wampserver.

Anyway, I quickly went back to using Wampserver. It is quite easy to set up and use, ( "One-Click setup" usually), and it will in fact allow you to run most web applications like forums, website software, web editors, blogs, CMS, etc etc "out of the box", and it is easy to change various settings to suit applications, or to suit prospective servers.

Regards.....

Mike Connor
Mike Connor is offline   Reply With Quote
Old 07. Jun 2009, 05:40 PM   #5 (permalink)
Under Thieves...
 
George's Avatar
 
Join Date: May 2008
Location: Toronto, CA
Posts: 386
Default

I never had any problems with Xampp. I am using it for years and I guess you can say I am a power user.

I think it depends on the environment and other tools and software you use with it.

Well, we have two recommendations here. That's a good thing so people can try the other if the first gives them problems.
__________________
Best regards, George
George is online now   Reply With Quote
Old 13. Jun 2009, 09:41 AM   #6 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 3
Default

I also use WAMP.
Simply the best.

---------------------------
[edit: removed sig link to commercial ad.]

Last edited by Jojoyee; 13. Jun 2009 at 04:07 PM.
rosarionemia is offline   Reply With Quote
Old 15. Jun 2009, 03:32 PM   #7 (permalink)
Senior Member
 
wdhpr's Avatar
 
Join Date: Sep 2008
Location: The north Coast
Posts: 267
Default Wamp! what the heck is SQL?

I am just getting started to learn the wild west of web pages. I've had a flat site (html) for over a year now. Very basic. I made it with a evaluation copy of dreamweaver. Since then I have been tweaking it using kompozer.

I am ready to take it to the next level! To boldly go. Where? I have no idea.
I just downloaded my shiny copy of WebDwarf V2 and i'm ready to make the leap.
I am going to build a new multi page website and save it to my hard drive until Chris.p comes out with part 3 on How to build and host a website for free.

I have a couple of questions so I can get started on the right track.

How does a data base or SQL apply to a website?

I keep hearing about winamp which I have on my computer. I have no clue what to do with it. It has apache in it submenu which I also have heard of and dont know what it does. I would greatly appreciate a brief explanation.
Can I use these tools for my blog as well?

I'm not a genius but I am a thinker so any help will go a long way. Thanks in advance.

PS I am reading a tutorial on SQL at SQL Course
Cheers
Wdhpr

Last edited by wdhpr; 15. Jun 2009 at 03:45 PM.
wdhpr is offline   Reply With Quote
Old 15. Jun 2009, 11:36 PM   #8 (permalink)
Foundation Editor
 
chris.p's Avatar
 
Join Date: Apr 2008
Location: Kent, UK
Posts: 1,095
Default

Hey, looking good there. Your site is OK.

I reckon that you should think about going to a dynamic website now. This means using a database-driven site instead of HTML pages. The advantage is that page building is easier (there isn't any) and you can do a lot more.

The big advantage that you have is you've done your apprenticeship with HTML, so this is not an unknown area for you, as it is for many DB-driven site owners. That knowledge is useful.

You would have a choice of programs to use, and they are laid in in the Best Free CMS review - because that's where you are now. A CMS is a DB-driven website. The first step on the ladder is WordPress and you can stay with that in the long term, no question, there are some great WP-based CMS sites out there. In fact I advise this route.

Or you could volunteer for some serious brain damage in the short term and go for a full-on CMS like Joomla. The first month would be hell but after that you can do more with it than any other CMS.

Up to you - but read the review and see what you think.
__________________
.
.
.
.
.
.
.

SEO for CMS
chris.p is online now   Reply With Quote
Old 15. Jun 2009, 11:47 PM   #9 (permalink)
Under Thieves...
 
George's Avatar
 
Join Date: May 2008
Location: Toronto, CA
Posts: 386
Default

Hi w,

the term "web server" is ambiguous. On the one side it stands for the whole sever computer running all necessary software to power your website. On the other side the term is also used for that piece of software running on that computer that is responsible for interpreting your html code and sending the pages to the requesting browser.

Web server software (like the popular Apache) can usually load addl. modules that enable it to do more than interpret html code, e.g. loading a PHP module so that also PHP code is interpreted and converted to web pages sent back to the requesting browser. You usually configure the web server in a way that it loads the appropriate addl. modules (other than html) based on the file extension. Files ending with .php are also interpreted with the PHP module. A proper HTML/PHP file that has an unknow file extension will not be interpreted accordingly.

Usually web developers progress in three steps:
1) Markup language (HTML)
2) Programming language (e.g. PHP)
3) Database Server

The term "database server" already points out that you need another piece of software running on your web server computer: the database server software. The most popular is a MySQL server.

A database server allows you to store and access data in a database during the interpretation of your website files. However, HTML cannot do that. You need a programming language that has built in routines and capabilities to connect to a database server and talk to it. That would be PHP in our example.

But in order to talk to a database server you need to use a language that the database server understands. That would be MySQL in our case.

So once you have a webserver with PHP and a database server running, here are some very basic examples what you can do with it.

Simple HTML
HTML Code:
<html>
  <head>
    <title>My HTML Page</title>
  </head>
  <body>
    <h1>Hello World</h1>
  </body>
</html>
Simple PHP/MySQL
PHP Code:
<html>
  <head>
    <title>My PHP Page</title>
  </head>
  <body>
    <h1><?php echo "Hello World";?></h1>
  </body>
</html>
Simple Database Access:
PHP Code:
<html>
  <head>
    <title>My PHP-MySQL Page</title>
  </head>
  <body>
<?php
  
// Establish a connection to the MySQL database
  
$connection mysql_connect("localhost""myusername""mypassword");
  
// Use the address database
  
mysql_select_db("addresses"$connection);

  
// Run a query through the connection
  
$result mysql_query("SELECT id, surname, 
        firstname FROM contacts"
$connection);

  
// Fetch each row of the results into an array $row
  
while ($row mysql_fetch_array($result))
  {
     echo 
"ID:\t{$row["id"]}\n";
     echo 
"Surname\t{$row["surname"]}\n";
     echo 
"First name:\t{$row["firstname"]}\n\n";   
  }
?>
</body>
</html>
This will give you a basic idea of how it works. One thing is important of course: in the upper example it is assumed that the database "addresses" with its table "contacts" exists.

You need to create this database before you can access it. There is a popular free program that you can used to create databases in your database. It is called phpMyAdmin and is a web application itself.

The easiest way to get started with a local web server on your computer is to download on of the free packages that include everything you need already. I am using XAMPP, others suggest WAMPSERVER. Once you install such a package you have HTML, PHP, MySQL Server and phpMyAdmin ready to go.

In the example of Xampp you do this:
1) Install Xampp
2) Start the Xampp Control Panel
3) In the Control Panel start the Web Server and the Database Server
4) Open your browser and go to http://localhost

Ok, so much for a very quick and simple introduction. I guess you can take it from there.

If you need further assistance just post it here.
__________________
Best regards, George
George is online now   Reply With Quote
Old 16. Jun 2009, 01:17 AM   #10 (permalink)
Senior Member
 
wdhpr's Avatar
 
Join Date: Sep 2008
Location: The north Coast
Posts: 267
Default This is starting to make sense

If I am starting to understand this. I believe the database in this case mysql is actually a server in itself sending the data for my webpage to the requesting browser. This replaces the requesting browser from actually downloading the contents of my webpage and html code. So the requesting browser receives that information directly from my sql data base in the form of a php file. Is this data converted to html by the requesting browser or does the browser interpret it in php code ?

I am using Go Daddy and it has a Mysql database built in. I just created that database and its creation is pending.

To communicate to mySQL so I can form my webpage do I use one of the for_mentioned applications such as wamp which I already have installed on my computer or build my database using the host's on_board tools?
Or do I create my webpage using a tool like wamp and then ftp the php file to my database? In other words whats the best way to communicate between my computer and MYSQL residing at my website host?

I am still trying to get my head wrapped around this point.
My host is trying to sell me a bag of goods around every corner.
I want to use my host for convenience and circumvent any pay type services.

PS: thanks so much for your help

Cheers
Wdhpr

Last edited by wdhpr; 16. Jun 2009 at 01:46 AM.
wdhpr is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 09:14 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0