Fedora Linux Support Community & Resources Center
  #1  
Old 20th July 2009, 07:00 PM
Lo Zeno's Avatar
Lo Zeno Offline
Registered User
 
Join Date: May 2008
Location: Italy
Age: 30
Posts: 99
Looking for advice for a web application

A bit of background:

I developed a web application meant to work within a closed computer network (by closed I mean no internet connection, fixed IPs and WPA2), this application is written in C#, ASP.NET frontend, a SQLite database and CastleProjects' ActiveRecord framework (based on NHibernate). This application runs on a IIS server (actually, a laptop with Vista installed and IIS 7, but it works for the small network of 10 computers it serves), and it's doing its job fine.

Now, I've been asked to develop an interface to allow those who use that application to insert data into its database from internet. The website that will contain that interface is a linux machine with Apache server, PHP 5 and MySQL.

Now, I am good enough at PHP to develop an interface to easily manage that SQLite database, but it would require quite some time since I should write it from the ground up and, obviously, I can't reuse anything of what I coded for the original web application.

So, the advice I need is the following: should I persuade them to buy the Windows support from their hosting service, so that I will reuse the core dlls of the application I already developed and create the interface quickly, or should I instead find a good PHP framework to quicken my job (I've heard good things about Zend, but I haven't yet looked at it) and do a PHP frontend for their website? And if the answer is the second, what is the best development environment to use for PHP (apart from gedit, of course!)

Those who want to ask me why did I choose C#, ASP.NET and other Microsoft's programs and tell me to write everything from the ground up in Java, C++, PHP or some other free or opensource alternative, read the following part (all the others can skip this part and answer right away).

Microsoft is evil, ASP.NET is patented and my free software (because of course, I released my web app as free and open software) probably won't be so free someday if Microsoft so decides. Yeah, I already know that. I could have coded it in a dozen or so other alternatives, sure, but there are reasons behind my choices:
first and foremost, it's an application meant for a sort of "game": a LARP, a Star Wars LARP actually, and it's meant to recreate the Holonet, the "galactic internet" of Star Wars's universe.
second, I work in a software house that is a Microsoft Partner, and so during the last two years I was taught C# and ASP.NET, and I have become quite good with it, I'm actually better at coding in C# than I am in Java, and I am more familiar with C# libraries and framework than what I am with Java's equivalents.
Third, all computers used in that LARP to make the network (it's a wireless network) are old PCs and old laptops unsold that some computer shops offered for free, and I "cleaned" them all and installed Mint and Fedora 11 on them (so that they all had Firefox 3.5 to access the webapplication), but the only PC powerful enough to be the server is the laptop of one of the organizators, and he doesn't want to install Linux on it (arguing isn't going to help).

So, since I had to do things quickly, I went for C# and ASP.NET. Now, since the application uses a SQLite database and this database contains, among other things, also the players' data (names, characters, character sheets, game statistics, and so on), they asked me if it is possible to allow each player to access his/her personal data from internet, in order to update their characters, update their personal data if they changed (phone numbers, addresses, and so on). And this, too, needs to be done quickly.
Given that the website runs on Apache, the obvious answer is "php", but it would be faster for me to reuse the dlls I already developed to access data from the database. That's why I'm asking for advice.

Thanks everybody in advance!
Reply With Quote
  #2  
Old 22nd July 2009, 07:24 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
What confused me about your question is you say the interface web server will be Linux and then you say you can reuse your DLLs (which you can't on a Linux server). In any case, your question is more of a business question than a technical one. It's very hard to say which would be better (buying Windows support (less development time) vs. not buying Windows support (more development time)) without knowing the details of application. You'd have to decide that after weighing the cost and the urgency of the project.

As for developing with PHP, it's pretty easy to develop web sites with PHP. I haven't used Zend. I don't usually use frameworks but they can make development faster and there are many to choose from: http://www.phpframeworks.com/

I use an editor called Geany for development. It's not a full-blown IDE but it's fast and I like its features. It's one step up from gedit.
Reply With Quote
  #3  
Old 25th July 2009, 02:37 PM
arrow2315 Offline
Registered User
 
Join Date: Jun 2009
Posts: 16
Hi Lo,

I have experience in developing Web App's in PHP ( LAMP ) , the Microsoft world ( .NET, ASP, SharePoint Server ) and Java /Spring/hibernate on Tomcat and JBoss. My preferred environment surely is JAVA, then PHP.
In spite of personal preferences I would advice to buy the Windows support from their hosting service and do the development in the Microsoft world using your experience in C#, ASP.NET . As time is critical as you mentioned you will be in a hurry.
It is easy to do something in php quick and dirty but you need some experience to make it secure And as you are dealing with personal Information security seems to be an important aspect.

If you decide for PHP and ask for PHP frameworks I would quote for Zend Framework. Even the early versions where very stable and reliable. I did a project with it 2 Years ago and never had any complaint about errors or performance.
You will need some time to go through the tutorials. A good starting point is here:

http://zendframework.com/docs/quickstart

As IDE I strongly recommend netbeans 6.5 or 6.7. It has excellent php support with full debugging ( Xdebug ). You can get Versions for MacOS, PC Windows and Linux.( http://www.netbeans.org/).A Netbeans fedora native (6.5) Version and php support you can get directy from the fedora repos. The Linux Version( 6.7) from sun on netbeans.org is working fine.
On fedora yum Install java-devel first.

If of interest I can post more Info about how to get Apache ,PHP, Nebeans and MYSQL debugable up and running.

hope it helps
arrow

@ BandC I suppose Lo ask's about paying extra fees for a windows server where the DLL's would be usable.
Reply With Quote
Reply

Tags
advice, application, web

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help or Advice telepatico Using Fedora 3 9th December 2007 10:23 AM
I need some advice trinimoses Using Fedora 3 20th June 2007 02:58 PM
need advice danwright55 Hardware & Laptops 2 25th November 2005 01:06 PM
I just want to run an IRC box, need advice schlongsalami Using Fedora 3 4th August 2005 01:34 AM


Current GMT-time: 04:21 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat