473,765 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Php/Java justifcation please help

Ben
This is not a troll post. I am doing research on my own too but could use
your guys/gals help. As mentioned in prev thread our company is about to
embark on building a large scale web based application. "Shimmy" provided
some help already but need more. This app will be hit by thousands of
users, large data sets and be fed by GPS handheld devices such as cell
phones, which will also require apps we write running on them. The response
time of current data to screen is paramount (which relies in largely on DB
design I realize). The decision makers are leaning towards .NET and I feel
they are making a mistake. Hoping not for MS bashing here but facts.

- Why is/isn't .NET a better solution for large scale apps?

- Are the majority of current large scale web apps using .NET ?

- Are the majority of handheld devices and cell phones using MS based tools
or not?

- Examples of name brand companies using either and why you think they went
that way.

- Reliability.

- Development time.

- Security, security, security which is more secure.

Any opinion must be backed by facts, examples, etc.

Any help is appreciated.

=B
Apr 1 '07 #1
10 1557
Ben schreef:
This is not a troll post. I am doing research on my own too but could use
your guys/gals help. As mentioned in prev thread our company is about to
embark on building a large scale web based application. "Shimmy" provided
some help already but need more. This app will be hit by thousands of
users, large data sets and be fed by GPS handheld devices such as cell
phones, which will also require apps we write running on them. The response
time of current data to screen is paramount (which relies in largely on DB
design I realize).
Imho the quality of the network connection (bandwith and latency) are
very important too.

The decision makers are leaning towards .NET and I feel
they are making a mistake.

Why do you think they are making a mistake? Under the assumption that
they have foundings for their conclusions, which of these would you want
to debunk?

It's possible to make unreliable, insecure applications that run over
time and budget with any development platform... Imho, it all depends on
the capabilities of the people that are going to realize (analyze,
architect and develop) the product.

--
Tim Van Wassenhove <url:http://www.timvw.be/>
Apr 1 '07 #2
Ben

"Tim Van Wassenhove" <ti***@users.so urceforge.netwr ote in message
news:dO******** *************** *******@scarlet .biz...
Ben schreef:
[snip]
which of these would you want to debunk?
These statements:

1.) The majority of web based applications are running .NET.

- Quick visit to the largest financial institutions does not show this as
true
- Yahoo appears to be using PhP and Java for thier apps

2.) .NET is more secure and reliable

- Again, using large financial instituions as an example, the lack of .NET
(asp) being used leads me to beleive that it is less secure, less standard,
less reliable

3.) .NET will result in decreased overhead and total development cost due to
more rapid development and more reliable tools

- My *limited* experience showed that more time was spent on the back end of
..NET apps, buggy, etc.

>

--
Tim Van Wassenhove <url:http://www.timvw.be/>

Apr 1 '07 #3
Ben wrote:
This app will be hit by thousands of users,
Thousands per second; per hour; per day; per year?
- Why is/isn't .NET a better solution for large scale apps?
It is a good solution for large scale apps if your developers know it. It
isn't a good solution for large scale apps if your developers don't know
it.
- Are the majority of current large scale web apps using .NET ?
Google mostly uses C; Yahoo mostly uses PHP; Amazon uses Perl to a large
extent; Microsoft mostly uses (surprise, surprise...) .NET.
- Are the majority of handheld devices and cell phones using MS based
tools or not?
No. PalmOS is big on handheld devices, though Windows (various flavours
thereof) are also a major presence and there are plenty of others too,
including a sizable installed base of various embedded Linux flavours.
Symbian is still the biggest OS in the mobile phone arena, with about 50%
of the market, though this is falling; Linux is next, with about 25% and
then Windows with about 15%; PalmOS is a minor player here too, and again,
plenty of others.

If you want to support a wide variety of mobile phones, then you want to
look at Java/MIDP, which virtually all recent mobile phones support,
except for the ones that come free with Happy Meals. Most handheld devices
could probably be coerced into running Java too -- particularly Windows
and Linux based devices.
It sounds to me like a good portion of your project is not web-based, so
PHP is probably not the ideal language for it. The method that I'd be
tempted to use would be:

1. Find a general purpose language that your development team are
comfortable with. Examples would be C, C sharp, Java, Perl or
Python. Write the majority of the application in this, including
all the logic and data access. Expose this application via a
set of web services.

2. Write your mobile client in Java. The mobile client should not
try to access the data or do anything clever on its own, but
should only access the main application's web services.

3. Write your web site in a suitable language which your development
team is most comfortable with. Examples would be PHP, Perl, Python,
Java, or ASP.NET. Again, it shouldn't do anything clever -- just
provide a web site communicating with the main bulk of the code
via your web service.

This should give you a clean split between the application, the website
and the mobile clients. You can then write each component in the most
suitable language for the task at hand.

Also, as far as web services go, although SOAP is well-established, the
current vogue is RESTful interfaces. And, unlike most fashions in
technology, there is a very good reason for it: REST is far more sane
than SOAP.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Apr 1 '07 #4
Ben wrote:
This is not a troll post. I am doing research on my own too but could use
your guys/gals help. As mentioned in prev thread our company is about to
embark on building a large scale web based application. "Shimmy" provided
some help already but need more. This app will be hit by thousands of
users, large data sets and be fed by GPS handheld devices such as cell
phones, which will also require apps we write running on them. The response
time of current data to screen is paramount (which relies in largely on DB
design I realize). The decision makers are leaning towards .NET and I feel
they are making a mistake. Hoping not for MS bashing here but facts.
PHP has been designed as "glue" language and many libraries are written
in C/C++ for performance reasons. PHP is slow, although PHP5 got better.
Find the benchmarks on:

http://shootout.alioth.debian.org/

Please note, that C# in above benchmarks is for Mono compiler. MS
implementation is superior to that in many aspects including performance.

..NET has been designed as general purpose programming environment and
not just a scripting glue. .NET IL compiles right before it is executed
into the machine instructions similarly to JavaVM.

Novel did not invest $millions to port .NET into Unix world just for
fun. They must have seen a benefit and market.

I share the same opinion as your team - high performance website with
lot of built-in computing would be better off with either .NET or Java.
>
- Why is/isn't .NET a better solution for large scale apps?

- Are the majority of current large scale web apps using .NET ?
I see many Java servers (CNET, 1&1). eBay, Digikey (big electronic
distributor) run ISAPI extension, which is about as fast as custom
webserver (Google).

You can simulate these things by website stress tools. Do your research.

But the general answer is that tool is a tool, it helps you if you use
it properly. I don't see anything wrong with well designed PHP website
with most PHP sessions mostly waiting for database results.

--
Roman Ziak
www.dipmicro.com
Apr 2 '07 #5
Reading through your posts you are looking for:

- a large scale web based application.
- This app will be hit by thousands of users
- large data sets and be fed by GPS handheld devices such as cell
phones, which will also require apps we write running on them.
- The response time of current data to screen is paramount (which
relies in largely on DB design I realize).
- Reliability.

Those are your metrics, which I can tell you is not some slap together
job from off the shelf resources (it may be off-the shelf, but you are
going to have to do some fine tweaking to get it to run properly).

- Security, security, security which is more secure.

Especially this, you need to know what your threats are and how they
are handled.

- Development time.

This leads to the old and true addage, do you want it fast or do you
want it fixed right? You probably are speccing past any Rapid
Application Development platform (which does not neccisarrily equate
to rapid response application).

I have see ASP stuff do great things and I have also seen it do lousy
things (many times). The crux is to invest in the time and
responsibility to get it to work on the platform that meets your
needs.

Don't pick the language first. Start with the list at the top and see
what's available to meet those meeds and how it will mesh (especially
the cell/GPS-web connectivity) some deveopment platforms will work,
some won't and I bet some part of it will need to be something finely
tuned and custom.

Apr 2 '07 #6
Ben wrote:
This is not a troll post. I am doing research on my own too but could use
your guys/gals help. As mentioned in prev thread our company is about to
embark on building a large scale web based application. "Shimmy" provided
some help already but need more. This app will be hit by thousands of
users, large data sets and be fed by GPS handheld devices such as cell
phones, which will also require apps we write running on them. The response
time of current data to screen is paramount (which relies in largely on DB
design I realize). The decision makers are leaning towards .NET and I feel
they are making a mistake. Hoping not for MS bashing here but facts.

- Why is/isn't .NET a better solution for large scale apps?
I don't know. Why is/isn't it?
- Are the majority of current large scale web apps using .NET ?
Not in my experience. I've found very few .NET web apps. By far the
majority are running on Linux/Apache - which means NO .NET. APPS.
- Are the majority of handheld devices and cell phones using MS based tools
or not?
Who cares? The webserver sure doesn't. My servers don't even bother to
check if you're running Windows, Linux, Mac or even MVS/XE.
- Examples of name brand companies using either and why you think they went
that way.
None here. But even if I did I wouldn't be giving out private customer
information.
- Reliability.
As reliable as the programmers' experience allows.

- Development time.
As long as it takes - in any language/framework. No better answer with
the details you've been given.
- Security, security, security which is more secure.
Depends on your programmers. Languages themselves are not
secure/insecure. Their implementation is.
Any opinion must be backed by facts, examples, etc.
You won't find a lot of facts for free. Now if you want real hard facts,
expect to pay for them.
Any help is appreciated.

=B


--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Apr 2 '07 #7
3.) .NET will result in decreased overhead and total development cost due to
more rapid development and more reliable tools
That is exactly the opposite of my experience. I have been a .NET
developer, and I am glad I could switch back to PHP. The .NET framework
has a huge lot of features already programmed for you, but they are
programmed so badly you have to rewrite them yourself. Just try to
incorporate object-oriented responsibilitie s within web service classes
and you know what I mean.

--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/
Apr 2 '07 #8
On Sun, 01 Apr 2007 10:19:10 -0500, Ben wrote:
This is not a troll post. I am doing research on my own too but could
use your guys/gals help. As mentioned in prev thread our company is
about to embark on building a large scale web based application.
"Shimmy" provided some help already but need more. This app will be hit
by thousands of users, large data sets and be fed by GPS handheld
devices such as cell phones, which will also require apps we write
running on them. The response time of current data to screen is
paramount (which relies in largely on DB design I realize). The
decision makers are leaning towards .NET and I feel they are making a
mistake. Hoping not for MS bashing here but facts.

- Why is/isn't .NET a better solution for large scale apps?

- Are the majority of current large scale web apps using .NET ?
There's only one thing that needs to be said about this:

Microsoft Vista has ZERO .NET code in it. Why would you use a technology
that isn't used by the manufacturer of that technology.
Apr 2 '07 #9
Ivan Marsh schreef:

<off-topic>
There's only one thing that needs to be said about this:

Microsoft Vista has ZERO .NET code in it. Why would you use a technology
that isn't used by the manufacturer of that technology.
I'm pretty sure that Microsoft uses .NET for a lot of it's projects..
But does that mean that it should use .NET for *all* it's projects?

--
Tim Van Wassenhove <url:http://www.timvw.be/>
Apr 2 '07 #10

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

Similar topics

1
11046
by: Dan | last post by:
Hello, I am trying to read and write to an Excel file via my Java applet. I have done so successfully on several simple Excel files that simply had data cells without many complicated equations or any other Excel extras. However, now is the time to get the complicated ones to work. I didn't think that there would be a difference, but there is. At first, I was beginning to think that it was a file size problem, but now I am unsure. ...
0
2447
by: John Shepardson | last post by:
I want to serve a web page using a Java applet called jmol that models molecules in three dimensions. You can see it at http://jmol.sourceforge.net/ it¹s really cool I downloaded the package and read through the docs. It took me a long time to get it to work, but when I dropped the jmolApplet.jar file into my Library/Java/Extensions folder, it began to work on the web pages that I was developing and I was happy with that.
12
5503
by: ryann18 | last post by:
1. Write a while loop that verifies that teh user enters a positive integer value. 2. Write a do loop that verifies that teh user enters an even integer value. 3. Write a for loop to print the odd numbers from 1 to 99 (inclusive). 4. Write a for loop to print the multiples of 3 from 300 down to 3. 5. Write a method called alarm that prints the string "Alarm!" multiple times on seperate lines. The method should accept an...
5
1435
by: KiranJyothi | last post by:
Can Anybody please help me in installing Java. I installed JCreatorI in c:/program files/java and once I am trying to compile my java programs, I am getting this thing : Error : Invalid path, \bin\javac.exe -classpath "C:\Program Files\Java\jdk1.5.0_11\bin" -d "C:\Program Files\Java\jdk1.5.0_11\bin" "C:\Program Files\Java\jdk1.5.0_11\bin\Car.java" Process Completed.
1
1653
by: normbrc | last post by:
1) Implement (i.e., write the body of) the following method, countLines, that, given a BufferedReader parameter, counts and returns the number of lines of text in the corresponding file/stream. public static int countLines(BufferedReader in) throws IOException ______________________________________________________________ 2) Implement a new version of the countLines method that catches the possible IOException exception and outputs...
1
2924
by: CodeSeeker | last post by:
I have an application, which uses pop3 to read the messages from the mailbox, and it has been working fine for so many year. We recently have started changing this application to use java mail IMAP 4 instead of Pop3. Primary reason for that :- Is we want to better meet out SLA, so we have decided to go with the 2 instances of this application, and hence decided to use IMAP4 to concurrently accessing the mailboxes via IMAP4. My issues:- Now...
3
1754
by: bballpitcher65 | last post by:
ok...i have a very large program, but i keep getting this error.Exception in thread "main" java.lang.NullPointerException at flightlog.Totals.importFiles(Totals.java:29) at flightlog.Totals.totalling(Totals.java:47) at flightlog.AppStart.thirdResponse(AppStart.java:63) at flightlog.AppStart.AppStart(AppStart.java:28) at flightlog.Main.main(Main.java:26)
4
1380
by: jolitte | last post by:
Hello! I am creating a simple game in java that will arrange the button(with letters) to form a word.I already create the GUI but i do not know how to move the buttons. Please help me.Thank you!
2
3961
by: lilyumestar | last post by:
This project is due by Tuesday and I haven't even gotten half of it done. Can anyone please help me with this Exception error? I've been trying to figure it out for several hours Error Message "Main" Java.lang NullPointerException at Project1.sortingByZipCode<Project1.java:80> at Project1.main<Project1.java:31> Here is the Source Code
0
9568
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
10007
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
9951
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
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
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...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
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
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.