| Author |
Message |
mli
MD user level 5


Joined: Dec 29, 2003
Posts: 464
Location: Sweden
Member
|
 Posted:
Feb 13, 2004 - 12:48 PM |
|
| Post subject: Developing on localhost -- need advise |
Hi,
I wonder if someone could please write a quick tip on how to setup a development platform on the local machine in order to work with MDpro..
I need PHP/MySQL running (somehow). Using Win2k.
Then I plan to hook up Dreamweaver (I can sort out that I think on my own, as soon as I get MySQL and PHP working).
Any input appreciated!
/Mikael |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
Feb 13, 2004 - 12:59 PM |
|
| Post subject: Re: Developing on localhost -- need advise |
|
|
 |
mli
MD user level 5


Joined: Dec 29, 2003
Posts: 464
Location: Sweden
bannato
|
 Posted:
Feb 13, 2004 - 11:05 PM |
|
| Post subject: Re: Developing on localhost -- need advise |
The reason I got desperately confused is that my "old" nusphere installation included MySQL. However, when you d/l Nusphere's new "technical platform" it only includes Apache and PHP. So, I had to d/l and seperately install MySQL.
Despite my newbieness I managed to get everything up and running, installed MDpro and hooked up Dreamweaver MX. I'm positive that my developing speed will increase by a few notch cuz working directly on the virtual webhost was a pain in the... 8)
Thanks for the links though, I'll check them out in due time (if/when my nusphere platform crash).
Cheers,
Mikael |
|
|
|
 |
mli
MD user level 5


Joined: Dec 29, 2003
Posts: 464
Location: Sweden
bannato
|
 Posted:
Feb 14, 2004 - 02:07 AM |
|
| Post subject: Re: Developing on localhost -- need advise |
Another issue just popped up in my mind: Synchronising "local and host files" (that's quite easy with Dreamweaver) -- but how do you synch the Database?
While I'm developing new items on localhost and uploading the changes -- changes may also have been made on the virtual database.
Is there a decent program out there that synch two MySQL databases?  |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
Feb 14, 2004 - 02:46 AM |
|
| Post subject: Re: Developing on localhost -- need advise |
When I do local development work I copy the database from my live site and then import the tables into a blank database. Once I'm done with the work just repeat the process back to your live site
Although, if you do find a database sync tool I'd be interested cos it'd make things that little bit easier |
|
|
|
 |
mli
MD user level 5


Joined: Dec 29, 2003
Posts: 464
Location: Sweden
bannato
|
 Posted:
Feb 14, 2004 - 03:12 AM |
|
| Post subject: Re: Developing on localhost -- need advise |
Agree!
Another thing which is also a bit annoying is the {image-path} problem when you edit theme-files in dreamweaver.
I have stored two different queries in dreamweaver that replace {image-path} with images/ (and a reverse query). But this does of course feel like a clumsy way to do your business in Dreamweaver. Has anyone got a work around on this?
Ideally, I would like to tell Dreamweaver that {image-path} should be interpreted as images/
Right now there is a lot of switching between {image-path} and images/ each time I want to view my changes on the "localhost webserver"
Any ideas?  |
|
|
|
 |
|
|