addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [orlandophp] Writing Professional PHP Code

From: user 6.
Sent on: Sunday, November 4, 2012 12:13 AM
Also, there are some tools that can check your code for complexity and if it matches a style standard. 
You can trigger these to run in a pre-commit hook (git/svn) or in a build process. Great for automated feedback and keeping your code clean as you work.

Re: PHP code style standards: http://www.php-fig.org/

Hope this helps,
~Christopher Martin


On Sat, Nov 3, 2012 at 10:34 AM, Derek Gallo <[address removed]> wrote:
That is the main point in my opinion... Experience. Through experience from writing and writing and writing more code you pick up techniques and style along the way. After 10+ years of programming I still find myself changing my style as I learn new things. 

Sent from my NFiPhone
Please excuse any typos. 

Derek Gallo
Managing Director R&D
MemberFuse

On Nov 3, 2012, at 7:18 AM, William Crawford <[address removed]> wrote:

Hopefully David will reply with some tips as well.  I learned more about writing clean, readable code while I worked with him than I learned in the entire rest of my career.  I don't know if he can condense months of tips into an email, but I hope he'll try!

On Fri, Nov 2, 2012 at 11:39 PM, Emerson <[address removed]> wrote:
Hello Everybody,

I was looking at some PHP code from frameworks like CodeIgniter, CakePHP. Their code looks so succinct  so elegant and so professional. I'm trying to see if I can write PHP code like that. (I'm not talking about OOP vs. functional)

Is there anything that you'd recommend besides the advice of "keep reading their code" ? How does one learn to write PHP in such way?

Thank you for pointers!

-Emerson 




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Emerson ([address removed]) from The Orlando PHP User Group.
To learn more about Emerson, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by William Crawford ([address removed]) from The Orlando PHP User Group.
To learn more about William Crawford, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Derek Gallo ([address removed]) from The Orlando PHP User Group.
To learn more about Derek Gallo, visit his/her member profile

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy