Reply to Re: What is the learning curve for PHP?

Your name:

Reply:


Posted by K.J.Williams on 04/03/07 18:19

On Apr 2, 11:27 pm, Simon Stienen <n...@news.slashlife.org> wrote:
> On 2007-04-03 06-22-12, K.J.Williams wrote:
>
> > 1. [...] I have tried CSS on myspace.com and their server was terrible
> > when I was trying to customize my page layout. I have no idea what their
> > using but its terrible. The font colors wouldnt not work right.
>
> If it can serve files, it's sufficient for CSS. Did you consider your HTML
> or CSS might simply be wrong?

I was using the syntax reciepe given by the people who have doctored
their myspace page
using CSS. I very well versed in HTML, but practice of CSS is new to
me.

>
> > 2. [...] There is one problem with Javascripting ( and HTML ) the
> > features of of the langauge is not totally universal with IE or
> > Mozilla/Firefox/ Netscape so in every Java Script, there has to be a
> > conditional statement which catches the web browsers type and use the
> > best most procedures - this might make my work with PHP not very easy
> > for web page generation.
>
> Nope. JavaScript is what Netscape does. MSIE does not implement the whole
> bunch of JavaScript functionality, but adds its own features. The result is
> called JScript.

So I would have to learn JScript and Javascript to do the equivalent
in my web pages?
for either MSIE or the Netscape variants?

>
> > 3. [...] One crazy question is PHP derived from Perl , like C++ is derived
> > from C?
>
> In it's early days, PHP was just a bunch of Perl scripts. But that's
> ancient PHP history.
> Similarly, C++ isn't really a derive of C, even if it was years ago.
> Nowadays, C++ bases on C features as well as C bases on C++ features.
> Feature distribution works in both ways here.

Well my understanding is that C++ is a addon to C, which adds OO
features, direct stream access,
a beter way of declaring and freeing memory (not that I dont mind
malloc() and free()),
you have a modified version of a struct that now allows its own
functions called class,
and then you have other little special operators such as scope
resolution to deal with that.
If you were to do only procedural work in C++ you do the same work in
C, just change your
classes to structs and strip out your class functions and make them as
stand alone
functions in the script. The only advantage I see in C++ is when I got
into dynamically
allocating memory in the form of a linear linked lists use nodes - it
can be done in C ,
but its alot harder with the syntax involved.

As hearsay, I have heard arguments about PHP is great for procedural
programming , terrible for
OO programming from Perl programmers. So the argument that they make,
in case, to me
at my college, 1. Perl a better shell script/cgi langauge than PHP in
Linux (all
Unix flavors) for that matter, 2. PHP is not designed for shell
scripting like Perl is.
PHP is strictly derived from PERL only for web-server - MySQL database
uses.

One question to ask ...

What do you think of PHP+GTK2 ?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация