473,718 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get an unix programmer started on web programming?

Hi!
I've done lots of programming for CAD, which was basically C/C++ and tcl/tk.
Now, we are thinking about introducing more web based tools, programming
them ourselves and right now the toolchain we think about is apache/oracle/php.

Now, I can do oracle no problem but I'm pretty wet behind the ears about
everything else.
What books could you recommend to me so that I can learn:
- what all this apache stuff is about, the mod_*
- what html or xml looks like, what a css and a dtd is and what I need it for
- session management
- login through active directory
- php

I've thrown my eyes on the php5 and mysql bible (ok it's not oracle but the
mysql part is 150 out of 1000 pages and the rest looks good from the table
of contents).

But what about the other stuff?

Lots of Greetings and thanks!
Volker
Aug 31 '05 #1
34 2790
> apache/oracle/php.
Why not apache/mysql/php? My opinion is that using Oracle for web
purposes is like using a rifle to kill a fly.

There are many books on all three. Just go to any competant book store
and spend an hour there looking through some. I tend not to be one who
reads a book from cover to cover, but use books as references when I get
stuck. I've found that books with a massive Index and ToC work best for
me. I also have some "cookbook"-style tutorial books that work great as
references.
Looking at my shelf, I just realized that most of my favorites are
published by O'Reilly.

Mark
Aug 31 '05 #2
Mark wrote:
apache/oracle/php.
Why not apache/mysql/php? My opinion is that using Oracle for web
purposes is like using a rifle to kill a fly.

We do have oracle already running, standby database and all and it
runs other applications too. Especially it holds data we want to access
from the web interface.
Looking at my shelf, I just realized that most of my favorites are
published by O'Reilly.

Ok.

Any idea about a general intro to web stuff, like html/xml/css
and such?

Lots of Greetings!
Volker
Aug 31 '05 #3
On 2005-08-31, Volker Hetzer <vo***********@ ieee.org> wrote:
Now, I can do oracle no problem but I'm pretty wet behind the ears about
everything else.
What books could you recommend to me so that I can learn:
- what all this apache stuff is about, the mod_*
You don't really need to know a whole lot about apache or mod_* until
you start doing really advanced stuff. PHP will get you very far on
itself.
- what html or xml looks like, what a css and a dtd is and what I need
it for
HTML/CSS is of course imperative. XML may be depending on your
application. IMHO XML is mostly suited for getting disparate systems to
talk to eachother and usually not very interesting internally in a
system.
- session management
Should be explained in any PHP book.
- login through active directory
AFAIK AD is just LDAP with some M$ stuff on top. I'm not aware of any
PHP to AD bindings, but you can use LDAP from PHP.
I've thrown my eyes on the php5 and mysql bible (ok it's not oracle but the
mysql part is 150 out of 1000 pages and the rest looks good from the table
of contents).


You might want to checkout this review on slashdot:

http://books.slashdot.org/article.pl...&tid=169&tid=6

It looks quite interesting to me but I haven't read the book so I cannot
recommend it personally. Beware of the million and one PHP+MySQL
introduction books, most of them will teach you some bad habbits and
most likely be a whole lot more confusing than needed. That's what my
impression is from people starting out with PHP anyways. And as you know
programming you'll probably find the introduction books below your
level.

You should also checkout the fantastic online manual of PHP on the
official PHP website - there's also a tutorial on PHP which will get you
started with it.

Know that the language itself is quite easy compared to C/C++ and also
it resembles C quite a bit, so you'll most likely find yourself at home
rather quickly.

Enough of the rambling, welcome to a world without pointers, enjoy! ;-)

--
Cheers,
- Jacob Atzen
Aug 31 '05 #4
For having a good HTML - Reference have a look @ http://www.selfhtml.org/
For PHP
http://www.php.net
and XML might be
http://www.xml.com or http://w3c.org

Hope this helps a little bit :-)

Greets Wolfgang ..

Volker Hetzer wrote:
Mark wrote:
apache/oracle/php.

Why not apache/mysql/php? My opinion is that using Oracle for web
purposes is like using a rifle to kill a fly.


We do have oracle already running, standby database and all and it
runs other applications too. Especially it holds data we want to access
from the web interface.
Looking at my shelf, I just realized that most of my favorites are
published by O'Reilly.


Ok.

Any idea about a general intro to web stuff, like html/xml/css
and such?

Lots of Greetings!
Volker

Aug 31 '05 #5
Jacob Atzen wrote:
On 2005-08-31, Volker Hetzer <vo***********@ ieee.org> wrote:
Now, I can do oracle no problem but I'm pretty wet behind the ears about
everything else.
What books could you recommend to me so that I can learn:
- what all this apache stuff is about, the mod_* You don't really need to know a whole lot about apache or mod_* until
you start doing really advanced stuff. PHP will get you very far on
itself.

Ok.
- what html or xml looks like, what a css and a dtd is and what I need
it for

HTML/CSS is of course imperative. XML may be depending on your
application. IMHO XML is mostly suited for getting disparate systems to
talk to eachother and usually not very interesting internally in a
system.

I think I'll find something.
You might want to checkout this review on slashdot:

http://books.slashdot.org/article.pl...&tid=169&tid=6

Looks good to me. I haven't had much use of that OOP stoff over the last eight years.

Lots of Thanks!
Volker
Aug 31 '05 #6
Wolfgang Forstmeier wrote:
For having a good HTML - Reference have a look @ http://www.selfhtml.org/
For PHP
http://www.php.net
and XML might be
http://www.xml.com or http://w3c.org

Hope this helps a little bit :-)

It will!

Thanks a lot!
Volker
Aug 31 '05 #7
Volker Hetzer wrote:
Hi!
I've done lots of programming for CAD, which was basically C/C++ and
tcl/tk. Now, we are thinking about introducing more web based tools,
programming them ourselves and right now the toolchain we think about is
apache/oracle/php.


Go build a server - Linux distro's will provide the apache/mysql/php stuff
out of the box (you might have to tick some boxes in the install)
alternatively are several packages which will install apache/mysql/php on a
MS-Win box.

The Oracle PHP extension does lots of things which other DB extensions don't
(like variable binding). There are also a lot more people out there using
MySQL than Oracle (so lots of published examples and people able to help).
However both Oracle and MySQL are supported by the dbx_ driver which
provides an abstraction layer from the actual DBMS - while your still
learning, I'd recommend starting with MySQL, write your code to run through
the dbx interface.

HTH

C.
Aug 31 '05 #8
Volker Hetzer wrote:
Mark wrote:
apache/oracle/php.

Why not apache/mysql/php? My opinion is that using Oracle for web
purposes is like using a rifle to kill a fly.


We do have oracle already running, standby database and all and it
runs other applications too. Especially it holds data we want to access
from the web interface.
Looking at my shelf, I just realized that most of my favorites are
published by O'Reilly.


Ok.

Any idea about a general intro to web stuff, like html/xml/css
and such?

Lots of Greetings!
Volker


Volker,

Don't allow access to your Oracle server through the web, especially if you have
confidential data on it that's not needed by the web. If someone successfully
hacks your system, they not only could have full access to the data in your
Oracle databases, but they could damage them as well.

Rather, replicate only the data necessary to run your website to another
database accessible by the web server (if you're happy with Oracle, that's
fine). Then access that subset from the server.

And if your users update this data from the website (i.e. order entry has to
decrement inventory count), don't just automatically replicate the changes back
to your main database. Rather, have the web site code call a program running on
the Oracle server (or another server behind your firewall). This program should
(again) validate the information and then make the database changes.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Aug 31 '05 #9
Jerry Stuckle wrote:
Volker,

Don't allow access to your Oracle server through the web, especially
if you have confidential data on it that's not needed by the web. If
someone successfully hacks your system, they not only could have full
access to the data in your Oracle databases, but they could damage
them as well.

Rather, replicate only the data necessary to run your website to
another database accessible by the web server (if you're happy with
Oracle, that's fine). Then access that subset from the server.

And if your users update this data from the website (i.e. order entry
has to decrement inventory count), don't just automatically replicate
the changes back to your main database. Rather, have the web site
code call a program running on the Oracle server (or another server
behind your firewall). This program should (again) validate the
information and then make the database changes.


IMHO this is unnecessary paranoia. A well written system will not allow
a user to hack your system and access arbitrary bits of data in a
database nor destroy a database. In any event limiting such data to a
subset and then engineering what needs to be done to keep things in sync
is overkill. If the hacker hacks he'll hack your subset database and
such a hack will probably be as painful.

--
640K ought to be enough RAM for anybody. - Bill Gates, 1981

Aug 31 '05 #10

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

Similar topics

5
2723
by: jrefactors | last post by:
when people say unix programmer, does it mean they write programs in unix environment,and those programs are run in unix platform? it is not necessary they are using unix function calls? I heard most of the time unix programmers are C and C++ programmers. please advise. thanks!!
4
3611
by: Alan | last post by:
Is anyone know the equivalent term used for Dynamic Link Library (DLL) in unix environment?? Thanks Alan
48
2588
by: Daniel Rudy | last post by:
Hello, On a x86 machine, what is the format of a pointer in C? I know for a fact that the x86 p-mode uses a /selector:offset/ notation where the selector is defined in either the GDT or LDT. Does that carry over into the pointer, or does Unix use the flat memory model? -- Daniel Rudy
46
2526
by: dawn | last post by:
Hi all, I am now working on a C program under Unix. The requirement for the program is that: A file name is passed to program as a parameter. The program will Find files under a specified directory. The matched file must have the same content with the given file. It does not matter whether the filenames are the same. It is easy to find file that has the same name with given file, but may be hard to find the files that with the same...
18
5648
by: Sharon | last post by:
is microsoft going to develop .Net for Unix? or at lest CLR for Unix? 10x
9
2198
by: fidlee | last post by:
I dont know if this is the right place to ask this question. i got this book "The C Odyssey. Unix - The Open, Boundless C" It is a 1992 edition book The book speaks of all the unix specific functions Just quoting an example below: void main()
2
1593
by: frikk | last post by:
Hey everyone, (Sorry about the first message if it made it - i got cut off early). I have a homework problem for my Operating Systems class. I am supposed to use a command such as "ps -aux" and return "N number of users, M number of processes". How am I to go about doing this? I am not very familiar with string parsing in c++, is this the only way? I am talking about getting the output from "ps -aux" and parsing it to retrieve the...
65
5269
by: Chris Carlen | last post by:
Hi: From what I've read of OOP, I don't get it. I have also found some articles profoundly critical of OOP. I tend to relate to these articles. However, those articles were no more objective than the descriptions of OOP I've read in making a case. Ie., what objective data/studies/research indicates that a particular problem can be solved more quickly by the programmer, or that the solution is more efficient in execution time/memory...
65
5079
by: Hongyu | last post by:
Dear all: I am trying to write to a file with full directory name and file name specified (./outdir/mytestout.txt where . is the current directory) in C programming language and under Unix, but got errors of Failed to open file ./outdir/mytestout.txt. Below is the code: #include <stdio.h>
0
8827
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
9358
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
9208
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
9121
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
9053
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
7991
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
4481
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2559
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2123
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.