473,608 Members | 2,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is PhP/mySQL right for this project?

Note: This is different from previous post.

I am coming from a C/C++ background. I have a frontend (written in C#),
my backend was originally meant to be a J2EE application with
PostGreSQL. I am worried about support/maintenance issues going forward
since I no little J2EE (have some Java) - but am no longer able to rely
on the J2EE developer going forward.

I am now seriously considering using WAMP, but I am not yet terribly
convinced about inter-op issues between C# and PHP.

I also remain a bit sceptical about a possible lack of infrastructure
previously provided by the J2EE app server - i.e. scalability,
robustness, role based security etc. Are there any hard technical
documents I can refer to allay (at least) some of these fears?

I cannot seem to find any documentation referring to my type of setup -
i.e. a C# frontend and issuing requests (e.g. logon for user
authorization/verification etc). A search on Google is not bringing up
much. Any recommendation on books that will be helpful in instructing
how to build such a system (as well as mentioning any potential
pitfalls), will be very much appreciated.

MTIA

Dec 19 '05 #1
15 1679


Susan Baker wrote:
Note: This is different from previous post.

I am coming from a C/C++ background. I have a frontend (written in C#),
my backend was originally meant to be a J2EE application with
PostGreSQL. I am worried about support/maintenance issues going forward
since I no little J2EE (have some Java) - but am no longer able to rely
on the J2EE developer going forward.

I am now seriously considering using WAMP, but I am not yet terribly
convinced about inter-op issues between C# and PHP.

I also remain a bit sceptical about a possible lack of infrastructure
previously provided by the J2EE app server - i.e. scalability,
robustness, role based security etc. Are there any hard technical
documents I can refer to allay (at least) some of these fears?

I cannot seem to find any documentation referring to my type of setup -
i.e. a C# frontend and issuing requests (e.g. logon for user
authorization/verification etc). A search on Google is not bringing up
much. Any recommendation on books that will be helpful in instructing
how to build such a system (as well as mentioning any potential
pitfalls), will be very much appreciated.

MTIA

Hello ?!. Anybody reading this ?

Dec 19 '05 #2
Susan Baker wrote:
Hello ?!. Anybody reading this ?


Hi there. Yes I read your post ;)

There is one thing I did not understand in your description: what do you
mean by combining a C# frontend with a PHP or Java based backend? Could
you elaborate? Do you mean that both the frontend and backend are
accessing the same datebase? Or that you want to build a PHP-based web
application in addition to a fat/smart C# client?
Regards,
Horst

Dec 19 '05 #3


Horst Telliog(lu wrote:
Susan Baker wrote:

Hello ?!. Anybody reading this ?

Hi there. Yes I read your post ;)

There is one thing I did not understand in your description: what do you
mean by combining a C# frontend with a PHP or Java based backend? Could
you elaborate? Do you mean that both the frontend and backend are
accessing the same datebase? Or that you want to build a PHP-based web
application in addition to a fat/smart C# client?
Regards,
Horst


Hi Horst,

Thanks for replying. My (fat) frontend is written in C#. The
architecture is N-tier, with quite a fat (smart) frontend implemented
mostly in C#.

These are the functional requirements of the backend:

1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).

This is what I need to do, and any help, pointers or book suggestions
will be very useful.

As an aside, I'm also considering moving from PostgreSQL to MySQL - but
Stored Procedures, Triggers and Views are only available in MySQL v 5.*.
How widespread is MySQL v 5.X implementations by ISPs is it really
production ready yet?

Look forward to your response.

Dec 19 '05 #4
Susan Baker wrote:
These are the functional requirements of the backend:

1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).
What protocol is used for the fontend/backend communication? SOAP?
This is what I need to do, and any help, pointers or book suggestions
will be very useful.
Some books I found helpful are

"Better, Faster, Lighter Java" by Bruce Tate, ISBN: 0596006764
"Beyond Java" by Bruce Tate, ISBN: 0596100949
"Upgrading to PHP5" by Adam Trachtenberg, ISBN 0596006365
"PHP 5 Objects, Patterns, and Practice" by Matt Zandstra, ISBN: 1590593804
"Advanced PHP Programming" by George Schlossnagle, ISBN: B0009EK8A4

I am not sure if this is anywhere near what you are looking for ;)

I really like Java for my bigger projects with Hibernate as ORM-tool. I am
also very satisfied with PHP5. The only thing I really miss with PHP5 is a
good debugger which slows down development considerably.
As an aside, I'm also considering moving from PostgreSQL to MySQL - but
Stored Procedures, Triggers and Views are only available in MySQL v 5.*.
How widespread is MySQL v 5.X implementations by ISPs is it really
production ready yet?


Soory but I have no idea. The only thing I can say is that I used MySQL
versions 3.x and 4.x for years without any problem :)
Regards,
Horst

Dec 19 '05 #5


Horst Telliog(lu wrote:
Susan Baker wrote:

These are the functional requirements of the backend:

1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).

What protocol is used for the fontend/backend communication? SOAP?


I don't know yet, I'm still finding out about PHP and what its capable
of doing. I would prefer not to use SOAP though because its too heavy/slow.

This is what I need to do, and any help, pointers or book suggestions
will be very useful.

Some books I found helpful are

"Better, Faster, Lighter Java" by Bruce Tate, ISBN: 0596006764
"Beyond Java" by Bruce Tate, ISBN: 0596100949
"Upgrading to PHP5" by Adam Trachtenberg, ISBN 0596006365
"PHP 5 Objects, Patterns, and Practice" by Matt Zandstra, ISBN: 1590593804
"Advanced PHP Programming" by George Schlossnagle, ISBN: B0009EK8A4

I am not sure if this is anywhere near what you are looking for ;)


Not really, ;-) - but thanks any way !

I really like Java for my bigger projects with Hibernate as ORM-tool. I am
also very satisfied with PHP5. The only thing I really miss with PHP5 is a
good debugger which slows down development considerably.
I had to move away from Java/J2EE because of support/maintainance
issues, for now I have scaled down the server side requirements so that
I can use PHP - however, it is still not clear to me, how o use a C#
frontend to communicate with PHP objects at the server side - this is
what I was trying to find out in my OP.
As an aside, I'm also considering moving from PostgreSQL to MySQL - but
Stored Procedures, Triggers and Views are only available in MySQL v 5.*.
How widespread is MySQL v 5.X implementations by ISPs is it really
production ready yet?

Soory but I have no idea. The only thing I can say is that I used MySQL
versions 3.x and 4.x for years without any problem :)
Regards,
Horst


Dec 19 '05 #6
On Mon, 19 Dec 2005 13:02:18 +0000, Susan Baker wrote:
-snip-
I really like Java for my bigger projects with Hibernate as ORM-tool.
I am also very satisfied with PHP5. The only thing I really miss with
PHP5 is a good debugger which slows down development considerably.

I had to move away from Java/J2EE because of support/maintainance
issues, for now I have scaled down the server side requirements so that
I can use PHP - however, it is still not clear to me, how o use a C#
frontend to communicate with PHP objects at the server side - this is
what I was trying to find out in my OP.


The same way you'd use C#, Java, Python, Perl or gazzillions of other
programming languages as middle tier layers. Web Services + SOAP

php has a whole suite of libraries already written for this type of
interoperation.

http://pear.php.net/package/SOAP

However as you are aleady using .net at the client end, why not write the
backend in C#?

Dec 19 '05 #7
Susan Baker wrote:
Thanks for replying. My (fat) frontend is written in C#. The
architecture is N-tier, with quite a fat (smart) frontend implemented
mostly in C#.
It'd be more helpful if you can be more specific. Words like
"front-end" and "back-end" don't really tell us much. Is your front-end
program a Windows application written in C#, or is an ASP.NET web
application?
These are the functional requirements of the backend:

1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).


..Net can readily handle all of these tasks. I don't really see the
logic in trying to mate it with a different technology.

Dec 19 '05 #8


Chung Leong wrote:
Susan Baker wrote:
Thanks for replying. My (fat) frontend is written in C#. The
architectur e is N-tier, with quite a fat (smart) frontend implemented
mostly in C#.

It'd be more helpful if you can be more specific. Words like
"front-end" and "back-end" don't really tell us much. Is your front-end
program a Windows application written in C#, or is an ASP.NET web
application?

Front end => Desktop GUI application
Written in C# (GUI and presentation logic)
This a standard exe written using WinForms

Backend
Functonal requirements specified below - what more do you need ?
These are the functional requirements of the backend:

1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).

.Net can readily handle all of these tasks. I don't really see the
logic in trying to mate it with a different technology.


I know, but I don't want to get tied to proprietary technologies (i.e.
Microsoft). I was forced to switch the GUI (client application) from
SWING to C#, because Java simply could not "get its act together" in
terms of sheer performance on the desktop. I am moving from a J2EE
backend implementation because I cant maintain/support it personally
going forward - but I do not want to have to use IIS/ SQL Server and pay
$'000s in subscription fees - I am a small company and I simply cannot
afford that.
Dec 19 '05 #9


CJ Llewellyn wrote:
On Mon, 19 Dec 2005 13:02:18 +0000, Susan Baker wrote:
-snip-
I really like Java for my bigger projects with Hibernate as ORM-tool.
I am also very satisfied with PHP5. The only thing I really miss with
PHP5 is a good debugger which slows down development considerably.


I had to move away from Java/J2EE because of support/maintainance
issues, for now I have scaled down the server side requirements so that
I can use PHP - however, it is still not clear to me, how o use a C#
frontend to communicate with PHP objects at the server side - this is
what I was trying to find out in my OP.

The same way you'd use C#, Java, Python, Perl or gazzillions of other
programming languages as middle tier layers. Web Services + SOAP

php has a whole suite of libraries already written for this type of
interoperation.

http://pear.php.net/package/SOAP

However as you are aleady using .net at the client end, why not write the
backend in C#?

SOAP is too heavy (and thus WDSL/web services goes out the window too),
as I mentioned in a previous post. I want to use sockets (I was
expecting someone to suggest using HttpRequest class - or whatever) ...

It seems no one is even aware that this is possible...

Dec 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9529
by: Aditya Ivaturi | last post by:
We have a CMS which is written is based on php & mysql. Recently we received a request to support multiple languages so that sites in that particular laguage can be created. I did some search on the google and it seems I have to build in multibyte support for php and mysql. Mbstring (http://us3.php.net/mbstring) claims to support multiple languages with a caution saying it might not work properly. After further research it seems unicode...
0
1340
by: Creativy, writing and more | last post by:
Hi all, I'm hoping to find some additional help with a site I'm maintaining for my landlord. I'm trying to grow a web hosting and web design business. I was to have this site as a job that would pay my rent but I'm having problems with some of the coding requirements to make changes, add features, fix problems, etc. The site is http://nationwidesingles.us I have gotten some assistance and it has been very valuable to have someone...
17
2883
by: chicha | last post by:
Hey people, I have to convert MS Access 2000 database into mysql database, the whole thing being part of this project I'm doing for one of my faculty classes. My professor somehow presumed I knew db's and gave me long list of things to do with that particular database, first thing being that particular conversion. Truth is that I don't know a first thing about db's, let alone using mysql... I downloaded mysql form www.mysql.com and...
11
1832
by: weissborn | last post by:
I have an application I have written in MS Access 2002. It is a very basic inventory system for keeping track of information about our Unix(solaris to be specific) servers. Other admins may want to use it shortly and running MS Access over the WAN is no picnic. It was suggested that I port to php and MySql. Having no experience with either, I'm wondering if this is a viable solution. The database if very "plain vanilla", i.e.,...
33
5529
by: Joshua D. Drake | last post by:
Hello, I think the below just about says it all: http://www.commandprompt.com/images/mammoth_versus_dolphin_500.jpg Sincerely, Joshua Drake
12
2248
by: Martin_Hurst | last post by:
It would appear that MySQL is making great strides into the commercial and even the enterprise arena. I am not seeing the same news coverage being said about Postgresql. I believe Postgresql has been a much better rdbms than MySQL for a long time, so then why has not Postgresql grabbed the commercial and enterprise arena before MySQL did? -------------------------------------------------------------------------------------------...
175
11325
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I think is PostgreSQL would have less USP's (Uniqe Selling Points
15
4589
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
13
2299
by: Jim Hubbard | last post by:
I have a client that desires a new application for use at several stores in different cities. He wants "real time" access to all store data and the ability to continue to run locally even if the internet connection goes down. It occurs to me that a local MySQL instance should definitely be in each store to continue work if the net is down for any reason. But, what is the best way to synchronize/share data among all of the stores? ...
39
5846
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f ISO-8859-1 -t UTF-8 mydb.sql mydb_utf8.sql mysqlCREATE DATABASE mydb_utf8 CHARACTER SET utf8 COLLATE utf8_general_ci;
0
8087
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8025
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8509
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8493
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6847
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5499
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4053
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2493
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.