Recommended sites

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
Developpers: Running Mambo into eclipse with no effort Print E-mail
User Rating: / 1
PoorBest 
Sunday, 06 March 2005 20:04
 Advantages:
  • Eclipse is free, eclipse has a very good plugin for PHP development: PHPeclipse.
  • Eclipse is working nicely with CVS (concurent versionning system), this is a good way to version any data on your production site.(pictures, configuration files, even mysql database etc...)
  • Eclipse is working nicely with ANT, a kind of make, it can help for automating deployment of your site or automating some tasks
  • Debugging, css, html validation, a way to look and version your work.

Drawbacks:

  • Make sense if You're a developer or really want to version Your internet page.
  • Heavy approach: need to start Eclipse to "play" with Your Site locally
  • Need to install CVS under windows (a pain)
  1. Download eclipse from www.eclipse.org and install normally (it is a windows application): recommended e:\eclipse
  2. Download PHPeclipse from http://sourceforge.net/projects/phpeclipse and install normally (it is a windows application)
  3. Install a Java Development Kit from www.java.com recommended is jdk1.4.2_06
  4. Uncompress Mambo-Eclipse-v1.0.zip (download in www.waltercedric.com in download section Mambo) on a windows drive E: recommended in E:/Mambo/
    Mambo-Eclipse-v1.0.zip contains:
    A ready to use eclipse workspace.
    Apache 1.3.33, PHP 4.3.10, MySql 4.1.9 et phpMyAdmin 2.6.1.
     
  5. Copy my.ini into c:\windows\
  6. Open the batch file startEclipseMambo.bat and change the location of jdk and eclipse binary (change accordingly what is in bold)
    E:\eclipse\bin\r3.0\eclipse.exe -vm C:\j2sdk1.4.2_06\bin\javaw.exe -data "E:\Mambo" -showlocation
  7. Start eclipse by running the file startEclipseMambo.bat
  8. Copy Your data:
    You already have a Mambo siteYou do not have any Mambo site
    Copy Your entire internet page (everything under the root (/)) with FTP
    under E:/Mambo/httpdocs/
    Copy Mambo from www.mamboserver.com and decompress zip file into
    E:/Mambo/httpdocs/
    Start MySQL and Apache (see point 10.)
    Point Your browser to http://localhost/installation/ and follow instruction
  9. If it is a fresh or a existing installation, in any case You must adapt the path in E:/Mambo/httpdocs/configuration.php
    E:/Mambo/httpdocs/configuration.php
    $mosConfig_absolute_path = 'E:/Mambo/httpdocs/';
    $mosConfig_live_site = 'http://localhost/';
    ...
    $mosConfig_cachepath = 'E:/Mambo/httpdocs/cache';
  10. Start MySQL and Apache by clicking on each icon in eclipse

  11. If one of the component do no start correctly, verify the settings of PHPeclipse under the menu Windows - Preferences- PHPeclipse Web Development or look in the logs file (E:\Mambo\apache\logs\error.log)
  12. Point Your browser to
  • http://localhost/mysql/ for starting the phpmyadmin admin console
  • http://localhost/ for your site

Contact me or post coments if You need help. Soon install CVS under Windows or Linux Suse

 

Comments
Add New Search RSS
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Sunday, 06 March 2005 20:14 )
 
Content View Hits : 2416930

Enter Amount: