ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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.
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)
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.
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.