Erodov.com Forums | India's Top Technology forum.

Erodov.com Forums | India's Top Technology forum. (http://www.erodov.com/forums/)
-   Open Source (http://www.erodov.com/forums/software-zone/open-source/)
-   -   A question about Ubuntu 7.10 and web development! (http://www.erodov.com/forums/question-about-ubuntu-7-10-web-development/4052.html)

KiD0M4N 03-01-08 11:15 PM

A question about Ubuntu 7.10 and web development!
 
Hi people,

I am setting up a development environment inside VMware and using Ubuntu 7.10 as platform.

What basically I intend to do is use:

- Zend Studio (for PHP development, can you recommend any other better Open source alternative?, using trial version of Zend ATM.)
- PHP 5.2
- MySQL 5
- Apache2.2

However, with the default environment setup, it becomes a PITA to actually do development.... how do I go about it? For example, where should I optimally put my .php files so that I can use the editor (which ever it is) to edit then and see the results? Slightly confused here....

#all suggestions welcome.

Regards,
Karan

fractal 04-01-08 12:46 AM

Re: A question about Ubuntu 7.10 and web development!
 
Dont know the answer to your specifc query on setup but...

I thought LAMP was an integrated offering in most distros now.

Maybe thats only in the enterprise versions?

KiD0M4N 04-01-08 11:26 AM

Re: A question about Ubuntu 7.10 and web development!
 
Quote:

Originally Posted by fractal (Post 41181)
Dont know the answer to your specifc query on setup but...

I thought LAMP was an integrated offering in most distros now.

Maybe thats only in the enterprise versions?

Yes, LAMP is a accepted install set in Ubuntu 7.10 as well.

A simple:

Code:

sudo tasksel install lamp-server
... will do the trick, but I was confused on the exact configuration of the development environment. Is there a accepted "BEST" PHP editing environment for Linux?

Waiting for comments.

random2 04-01-08 03:25 PM

Re: A question about Ubuntu 7.10 and web development!
 
One thing you can do is configure apache to host user sites. You can get the info easily through google. Once done, you can create a folder called 'webstart' or similar in your home folder and use that as wwwroot. Basically that is where you place all the php files.

ex: if your username is kid0m4n, your url could be something like http : // localhost or IP/~kid0m4n
- This will be easier for dev work without much hassle of permissions.

By default it would be somewhere like /var/www/*** - *** depends on different things. - this will be your http : // localhost or IP /

Regd IDE/Editor - I dont like bulky ones with all uber features. I like editors like Scite. I use a bit improved editor which I developed few years back for all dev needs (basically have got used to it).

If you like the biggies, you can try webtools package for eclipse, Zend that you have and ActiveState's Komodo

KiD0M4N 04-01-08 03:42 PM

Re: A question about Ubuntu 7.10 and web development!
 
Quote:

Originally Posted by random2 (Post 41299)
One thing you can do is configure apache to host user sites. You can get the info easily through google. Once done, you can create a folder called 'webstart' or similar in your home folder and use that as wwwroot. Basically that is where you place all the php files.

ex: if your username is kid0m4n, your url could be something like http://localhost or IP/~kid0m4n
- This will be easier for dev work without much hassle of permissions.

By default it would be somewhere like /var/www/*** - *** depends on different things. - this will be your http://localhost or IP/

Excellent idea... I was just about to try this myself :) :)

montylee 04-01-08 03:48 PM

Re: A question about Ubuntu 7.10 and web development!
 
i have no idea abt Zend but if u want to do development in PHP, u can use any IDE like Eclipse, KDevelop etc. since php is not compiled u just need to write the php code and view the results in a browser.

KiD0M4N 04-01-08 04:18 PM

Re: A question about Ubuntu 7.10 and web development!
 
Quote:

Originally Posted by montylee (Post 41306)
i have no idea abt Zend but if u want to do development in PHP, u can use any IDE like Eclipse, KDevelop etc. since php is not compiled u just need to write the php code and view the results in a browser.

I guess there is a PHP plugin for Eclipse. Thats a alternative as well.

montylee 04-01-08 04:20 PM

Re: A question about Ubuntu 7.10 and web development!
 
oh, ok then u can use that. All the best!

random2 04-01-08 04:22 PM

Re: A question about Ubuntu 7.10 and web development!
 
^ I edited my orig post regarding editors. Maybe you should have a look at couple of them. There are quite a few Editors/IDEs for such purposes from ultra lite ones to pure bloatwares.

MaxAxe 04-01-08 05:09 PM

Re: A question about Ubuntu 7.10 and web development!
 
Ion Cube is one ....


All times are GMT +5.5. The time now is 07:44 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 PL2 ©2011, Crawlability, Inc.