New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Hosting a server or what?


Post Reply New Thread Subscribe

 
Thread Tools
PBG4MAN

 
PBG4MAN's Avatar
 
Member Since: Dec 19, 2004
Posts: 115
PBG4MAN is on a distinguished road
Mac Specs: 15" MBP, 2.2Ghz, 2GB RAM20" iMac: 2.16 gHZ; 1GB RAM; 250 Gigz

PBG4MAN is offline
Okay, I'm an idiot at this, but I hope someone here can help:
I've just taught myself how to design and create basic websites in Dreamweaver. My next venture is to create what they call dynamic web pages. Meaning, pages that allow input from users and can provide output as well, using Databases I guess.
Now, what do ya'll think is the best way to do this? I'd like to do it from within Dreamweaver, but the help files in that program aren't clear as to what I need to do this on a Mac. It has something to do with setting up a server on my computer... At this point I'm lost. Can anyone help me out, or at least point me the way?

:mac: Don't forget to think. Differently. :mac:
QUOTE Thanks
vtupser
Guest
 
Posts: n/a

You will need to use a server side scripting code like PHP or ASP (PHP is what you should use if you use a Mac, ASP servers are only on Windows based machines). You already have Apache installed on your computer as your server, but will need to dl a program to help you access it. Go to http://www.entropy.ch/software/macosx/php/ and download PHP 5 for Mac OSX. Run the installer and everything sould be set. You will need to save your files in your "sites" folder on your Mac. To access these files in a web browser, you will need to turn file or web sharing on in your system preferences. Then you can access those files by typing in your browser nameofcomputer.local/~youruseraccountname/nameoffolder That simple. Of course you need to know PHP to make anything dynamic, but you can still use HTML and your server to view stuff.
QUOTE Thanks
Kokopelli
Guest
 
Posts: n/a

Dreamweaver is not my forte but assuming ytupser is correct in PHP being your best route I suggest using MAMP. http://www.mamp.info/en/home/

It will make the install and configuration of your development environment easier. I am not all that heavily into PHP on Mac but it seemed to install easily and cleanly for me.
QUOTE Thanks
PBG4MAN

 
PBG4MAN's Avatar
 
Member Since: Dec 19, 2004
Posts: 115
PBG4MAN is on a distinguished road
Mac Specs: 15" MBP, 2.2Ghz, 2GB RAM20" iMac: 2.16 gHZ; 1GB RAM; 250 Gigz

PBG4MAN is offline
First off, thanks so much for your help till now.
Second, I don't know if it makes a difference or not, but I forgot to mention that I have mySQL installed on my MAC... should this change things?

:mac: Don't forget to think. Differently. :mac:
QUOTE Thanks
Kokopelli
Guest
 
Posts: n/a

It means straight PHP ( etnryopy.ch )would probably be simpler then. I had postgre but not MySQL. There is some configration that MAMP handles but it is not that big a deal and you would probably want to avoid ahving 2 copies installed.

Meph
QUOTE Thanks
vtupser
Guest
 
Posts: n/a

Yeah I would go with straight PHP install instead of MAMP. It wont write over or bother your MySQL install. You might want to also dl a copy of phpMyAdmin or a program of the like to manage your MySQL once the PHP server is installed.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
I love phpMyAdmin, but in my experience it seems that most beginners want something even more guified, so try downloading a program called CocoaMySQL from http://www.macupdate.com

PHP is definitely the best web scripting language out there, and of course there will be people that disagree, but it definitely is the most widely used and it's user base continues increasing. Dreamweaver has a bit of support for PHP, so you should be good to go there.
QUOTE Thanks
PBG4MAN

 
PBG4MAN's Avatar
 
Member Since: Dec 19, 2004
Posts: 115
PBG4MAN is on a distinguished road
Mac Specs: 15" MBP, 2.2Ghz, 2GB RAM20" iMac: 2.16 gHZ; 1GB RAM; 250 Gigz

PBG4MAN is offline
Quote:
Originally Posted by Murlyn
I love phpMyAdmin, but in my experience it seems that most beginners want something even more guified, so try downloading a program called CocoaMySQL from http://www.macupdate.com

PHP is definitely the best web scripting language out there, and of course there will be people that disagree, but it definitely is the most widely used and it's user base continues increasing. Dreamweaver has a bit of support for PHP, so you should be good to go there.
Okay, now that I've got all these gadgets installed on my computer, I've realized that PHP is not just a technology but also a language! (like I said, I'm an idiot!) Anyway, so now I'd like to learn this language, just as I've learned HTTP and AppleScript. Can anyone suggest a good book for this? I've been looking around the web, but theres a lot out there. (If the book is directed at MAc users, even better.)Thanks!!

:mac: Don't forget to think. Differently. :mac:
QUOTE Thanks
vtupser
Guest
 
Posts: n/a

I like the Visual Quickstart Guides. They give good simple code examples that are easy to understand. If you know basic programming syntax and techniques it should be relatively simple. I have an older PHP book that is really good that covers versions 3 and 4. I would suggest getting the PHP 5 and mySQL Visual Quickstart Guide because I have heard it is good.
QUOTE Thanks

Post Reply New Thread Subscribe


« Anyone tried/use Mono? | Apple G5 ¿Server? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problems with SMB and Windows 2000 Server Hoppers Internet, Networking, and Wireless 0 01-26-2005 07:02 AM
eMac as a Server? lokerd Other Hardware and Peripherals 11 09-13-2004 10:53 PM
Mac OS X Server as Domain Member jcarr OS X - Operating System 0 04-05-2004 11:18 AM
OS 10 test station for server? lokerd OS X - Operating System 0 02-05-2004 07:01 PM
Upgrading hard drive...Boot IDE or SCSI? lokerd Apple Desktops 5 10-19-2003 07:02 PM

All times are GMT -4. The time now is 03:13 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?