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



On Apr 26, 2:42 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
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.

Thanks for the comments. In one sense I'm relieved, since the thought
of learning a bunch of new stuff in mid-stream was a bit daunting.
And I did suspect that the printing requirement and the single-machine
requirement might be problematic.

Mike
.



Relevant Pages

  • Re: Need to write my first web application - scratching head
    ... I'm a longtime programmer (embedded with a smattering of desktop stuff ... If the web app needs to run standalone, you'll need to install a web server on the standalone machine. ... from PHP you have only partial control over how the page is displayed or printed. ...
    (comp.lang.php)
  • Re: Ruby performance woes
    ... Now here's my take on all this: PHP and JSP and what I inquired ... S-expressions used as a directly alternate expression of SGML or XML. ... By the way, I've never had access to a Web server that can run ASP, ...
    (comp.lang.lisp)
  • Re: PHP-Yes, HTML-No --- Why?
    ... Because the files, when downloaded, are called .php and have absolutely no php in them:) ... But the extension doesn't match the contents of the file. ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called .html. ...
    (comp.lang.php)
  • Re: Executing PHP files on remote web server
    ... We have a commercial web host servicing our external clients, but we don't want to move the entire app and database to the web host because a lot of the data is sensitive. ... By loading the non-sensitive data into the web host's MySQL tables, our external clients can see their reports on the web. ... our web host put a firewall on the MySQL database so we can't insert data into the remote tables directly from the PHP pages running on our own web server. ...
    (comp.lang.php)
  • Re: standard coding...
    ... >> So the file, once spat out, should be called .html. ... >> still call php files .php even after they've been passed. ... The web server or the maintainer? ... Making sure your extensions match your content is ...
    (comp.lang.php)