Re: Need to write my first web application - scratching head



Mike Silva wrote:
Hello all,

I'm a longtime programmer (embedded with a smattering of desktop stuff
as well) who knows very little about web programming. Right now I am
developing the prototype of a multi-user application in MSVC++, but I
think it would make more sense to redo the app as a web application
(which I know almost nothing about, remember). From poking around I
see that PHP is a fairly mainstream candidate for me to consider.
Now, I will continue to poke around in this group and on the web to
gather the fundamentals as to how I need to proceed, but in the
meantime I'm hoping for a few words of wisdom.

So, regarding developing a web application w/ a small database, what
are the key things I need to know? What are the key things I need to
avoid? How can I maximize my chances of success and minimize my
chances of throwing my computer off the balcony?

One requirement of this application is to be able to print from the
client computers, so I presume some code will need to be located there
as well as on the server. What is the typical way to do this?

Thanks for any and all tips.

Mike


Mike,

I think your project is better suited to MSVC++.

If you write this as a web app, you'll need a web server. If the web app needs to run standalone, you'll need to install a web server on the standalone machine.

Additionally, from PHP you have only partial control over how the page is displayed or printed. Validated HTML code will give you a recommendation, but the user's browser always has the final word (i.e. what happens if the browser is using larger than normal fonts?).

The same goes for printing. You have no way to tell from the PHP end what the characteristics of the printer are, so you have no way to format the page to make maximum use of the printer.

There are a lot of uses for PHP and a web app, but I don't think this is a good one.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: Need to write my first web application - scratching head
    ... Mike Silva wrote: ... I'm a longtime programmer (embedded with a smattering of desktop stuff ... If you write this as a web app, ... from PHP you have only partial control over how the page ...
    (comp.lang.php)
  • Re: Need to write my first web application - scratching head
    ... If you write this as a web app, you'll need a web server. ... from PHP you have only partial control over how the page ... And I did suspect that the printing requirement and the single-machine ...
    (comp.lang.php)
  • Re: window.setTimeout equivalent in PHP?
    ... For a web application using PHP and Javascript, ... No web app involved. ... also install a separate component (namely PHP-GTK), ... provides a standard event driven GUI, provided I can assume a windows ...
    (comp.lang.php)
  • Re: JSP VS PHP
    ... There are no guarantee that a JSP web app will be more secure ... than a PHP web app. ... It is absolutely possible to write a secure PHP web app. ...
    (comp.lang.java.programmer)