LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-23-2006, 09:40 AM   #1
pcastanhas
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
language IDE recommendations


Hey Everyone,

First time posting; but I doubt it'll be the last. I've been playing with Fedora5 for a few weeks and now I'm ready to get down to some real work. I'd like to gets some recommendations for a good language/IDE for writing web apps with Apache/MySQL (mostly CRUD business apps). PHP seems too much like old ASP for my taste. During the day I use .Net/VS2005 so that's my benchmark.

Thanks in advance
Paul
 
Old 05-23-2006, 10:03 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi pcastanhas!

Welcome to LQ.org. Java EE with Eclipse does a very nice combination to develop Web applications with. I'm still not used to it, but it gets the job done
 
Old 05-23-2006, 11:22 AM   #3
pcastanhas
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I've read a lot that Java in general and Eclipse in particular is slow, do you find this to be the case?

I'll give it try tonight while the girlfriend is watching Idol
 
Old 05-23-2006, 11:28 AM   #4
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hmmmm, it depends of your machine I suppose. I personally find Eclipse very fast if you compare to to say, Netbeans. I recommended Java because sounded familiar with .NET. While I've no experience with .NET myself, I hear often how similar to Java it is. And since Eclipse is nothing but a powerful, free IDE, you could make something nice with both tools
 
Old 05-23-2006, 03:23 PM   #5
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Out of interest what is it that you don't like about php, or at least what you have seen of it?

I believe in matching tools for the task, and whilst I probably have a fairly small tool set I will use php for web programming, C++ for more desktop stuff and occasionally dabble with Java or another language depending upon what I am doing.
 
Old 05-23-2006, 04:19 PM   #6
optimist
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Being a VS developer myself, MS took a step towards Java in it's .NET endeavor.

It's easy to create objects that can be re-used by multiple applications without the need for clipboard inheritance. Code it once, put it in the GAC, and viola, every .NET app (no matter what language, no matter how the gui is served) can use the objects. One can even get legacy code to use it. It's a tool that can be the best tool for a lot of tasks, simple to complex.

Not having tried to integrate a C++ class into a PHP script, I'd imagine it's not so straight forward or seamless.

With what I know about Java and it's enterprise beans and MVC structure, I think this is what MS is moving towards. The only difference there is Java is the only language - and since I don't use it on a regular basis, I might be wrong there.

So far, the closest I've seen (and I haven't completely tried it - just simple servlets and applets) was the NetBeans Java environment. From what I understand, you can create enterprise objects and servlets (runat=server code in Java) that can communicate and share a codebase fairly seemlessly. These end up running on an application server such as JBoss or something similar which is like Apache or IIS for Java.

I believe this is the type of environment IBM and/or Oracle are pitching with their enterprise Linux development packages.

All that said, the tools Linux comes with out of the box are powerfull and can create industrial strength software. It's just not as enhanced with productivity tools or seamlessness yet. And when that day comes, MS will either be in trouble, or be the one selling Linux productivity tools. (Heaven help us)

All this of course is IMHO.
 
Old 05-23-2006, 09:08 PM   #7
pcastanhas
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
graemef,

It's not that I don't like the PHP lanaguage, it's more a matter of preference. I worked with it for a few weeks and I wasn't crazy about mixing SQL, HTML, and objects.

You're right, the right tool should be matched to the task, but sometimes there's more than one tool. I'm looking for as many different points of view as possible.
 
Old 05-24-2006, 06:55 AM   #8
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Hi,

I understand the horror of mixing that appears in much php code, but it doesn't need to be like that. Most of my code is just php with functions that return strings that contain the data to be displayed, or functions that wrap the data in html tags, and finally somewhere there might be a piece of code that will echo it to the server so that it can send it to the browser. Generally, introductory texts don't teach good style.

However, for me php is the most convenient tool for developing a simple web site.
 
Old 05-24-2006, 07:41 AM   #9
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
optimist

Thanks for your detailed description of "GAC", having not looked at VS I was unaware of that feature. Sounds quite nice and you are right hooking a piece of C or C++ code into php is not for the faint hearted. There is an extension to allow the integrating of php with Java but I have not tried it, early reports were of instability, what it is like now I don't know.
 
Old 05-24-2006, 08:37 AM   #10
pcastanhas
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Do you use any frameworks/IDE to help you write "cleaner" code or is it just experience? I'd be willing to give it another shot.
 
Old 05-24-2006, 11:15 AM   #11
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
There are loads of frameworks out there. That is both a blessing and a curse. I used Agavi for a while and I do like it, but for small projects I just create my own libraries. Unfortunately I've never got around to properly organising them so I tend to do too much cut & paste!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommendations on language for project Strixy Programming 2 06-28-2005 10:29 PM
GCC/G++ IDE recommendations banerji Linux - Software 7 11-15-2004 01:21 AM
RH9 &9.0 Benq CDRW 4012a IDE + IDE CDROM - Install - how to cgtueno Linux - Hardware 6 05-30-2004 02:43 PM
IDE-controller (PCI board) recommendations? Mirar Linux - Hardware 19 09-09-2003 08:42 AM
how2 make the kernel scan both PCI IDE and Mboard IDE channels? carboncopy Slackware 1 07-23-2003 03:26 PM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration