php-general Digest 5 Apr 2012 05:13:16 -0000 Issue 7761

Topics (messages 317453 through 317458):

Re: learning resources for PHP
        317453 by: Bastien

Re: To ?> or not to ?>
        317454 by: Lester Caine
        317455 by: Robert Cummings
        317456 by: Lester Caine
        317457 by: Robert Cummings
        317458 by: Lester Caine

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---

Bastien Koert

On 2012-04-03, at 10:39 PM, Tim Dunphy <bluethu...@gmail.com> wrote:

> Hello list,
> 
>  I am quite sure that you've heard this question at least a few times
> before. :) But I have been dabbling a bit in PHP for years and I've
> decided that its' high time that became serious about getting a solid
> grounding in it. Currently I work as a Sysadmin and have modest but
> reliable skills in bash and perl. But I consider PHP more of an
> artform and I really need to 'pick up a brush and start painting' so
> to speak.
> 
>  So what I was wondering what websites, and books you'd recommend to
> someone who (for all intents and purpose) is just starting out.
> 
>  On my hit list of things to learn are basic php / database
> interaction (mysql mainly).. then how to accelerate php interraction
> through memcache.. and eventually one I have all that down onto using
> some of the NoSQLs (mongo/cassandra/membase, etc).
> 
> Thanks!
> 
> -- 
> GPG me!!
> 
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

The manual is a great place

Www.php.net 

Then there are tons of sites forum and otherwise to aid your learning. 

--- End Message ---
--- Begin Message ---
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?

Just as long as no one proposes making leaving out compulsory ;)

While I can sort of understand the logic when the file is all php and just has an opening <?php, but when it's part of a file that has numerous opening and closing tags AND using <?= then leaving one segment un-terminated just seems totally wrong?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--- End Message ---
--- Begin Message ---
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?

Just as long as no one proposes making leaving out compulsory ;)

While I can sort of understand the logic when the file is all php and just has
an opening<?php, but when it's part of a file that has numerous opening and
closing tags AND using<?= then leaving one segment un-terminated just seems
totally wrong?

These kinds of files don't generally have issues with trailing whitespace though :) I certainly close the tags in these cases.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--- End Message ---
--- Begin Message ---
( forget email addres :( )
Robert Cummings wrote:
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?

Just as long as no one proposes making leaving out compulsory ;)

While I can sort of understand the logic when the file is all php and just has
an opening<?php, but when it's part of a file that has numerous opening and
closing tags AND using<?= then leaving one segment un-terminated just seems
totally wrong?

These kinds of files don't generally have issues with trailing whitespace though
:) I certainly close the tags in these cases.

I'm not alone then :)
But I prefer EVERY tag to be closed ... perhaps that would change if the IDE's faked a closing tag when it's missing so they don't get flagged as an error :(

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--- End Message ---
--- Begin Message ---
On 12-04-04 04:40 PM, Lester Caine wrote:
( forget email addres :( )
Robert Cummings wrote:
On 12-04-04 02:42 PM, Lester Caine wrote:
Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with "?>" or not?

Just as long as no one proposes making leaving out compulsory ;)

While I can sort of understand the logic when the file is all php and just has
an opening<?php, but when it's part of a file that has numerous opening and
closing tags AND using<?= then leaving one segment un-terminated just seems
totally wrong?

These kinds of files don't generally have issues with trailing whitespace though
:) I certainly close the tags in these cases.

I'm not alone then :)
But I prefer EVERY tag to be closed ... perhaps that would change if the IDE's
faked a closing tag when it's missing so they don't get flagged as an error :(

IDE? Get off my lawn!!

;)

I develop in JOE.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--- End Message ---
--- Begin Message ---
Robert Cummings wrote:
I'm not alone then :)
But I prefer EVERY tag to be closed ... perhaps that would change if the IDE's
faked a closing tag when it's missing so they don't get flagged as an error :(

IDE? Get off my lawn!!

;)

I develop in JOE.

But that does not provide any of the VCS/DVCS interlinks ... and flag files which have errors in them based on file extension ;) My niggle here is cloning local copies of libraries which get flagged with errors in files which one then has to check as to the reasons :(

But if no one else is going to fix things then it's probably time to get my Java books out again and do it myself ...

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--- End Message ---

Reply via email to