ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

What means "Advanced PHP Programming" for you?

January 08, 2010 10:57am

Subscribe [3]
  • #1 / Jan 08, 2010 10:57am

    Mareshal

    230 posts

    This is the question that my teacher asked us today. Here was my answer:

    1. using a professional php framework
    2. using some king of templating engine
    3. securing sql queries
    4. writing clean and documented code, and in the same time fast

    What would be your answer?

  • #2 / Jan 09, 2010 11:09am

    Jamie Rumbelow

    546 posts

    There is no sure-fire way of confirming someone to be an “Advanced PHP Programmer.” An advanced PHP programmer could not use a framework at all and opt for the more hardcore route of raw PHP goodness. I still don’t sometimes use a template engine - PHP was designed first and foremost as a template language to be embedded in HTML. Securing SQL queries has little to do with PHP - it’s a general rule of thumb for most good, secure applications. And your last point could again be applied to pretty much anything.

    I think the best gauge to estimate a programmer’s aptitude with is their code. Is their code clean and readable? Is it documented well? Does it have any outstanding bugs? Does it use the best technique and paradigm for the job? Does it actually solve the problem?

    If you answer yes to those questions, I’ll consider you as an advanced programmer. Notwithstanding the knowledge of the language and standard library itself, any tools you use and your overall process. Of course, this is all variable - we all knock up little bits of horrible code to do the job, but the mark of an advanced programmer is not how you code correctly, by why.

    It’s a very fine line, but really, to be an advanced programmer you need to stop procrastinating and go and code some stuff. Tell your teacher that.

    Jamie

  • #3 / Jan 09, 2010 3:41pm

    Mareshal

    230 posts

    My code is clean(80-90%) and readable(90%)

    Documented - Until now I wrote applications only for my use, and I was only writing in the header of the function what does it do.

    Outstanding bugs - since I started using CI, I didn’t find any bugs, and my app was tested by 2 experienced php programmers

    Does it use the best technique and paradigm for the job?  Don’t understand

    Problem was solved 😊

  • #4 / Jan 09, 2010 6:28pm

    SpooF

    170 posts

    Theres two different things here. One is an Advanced Programmer and the other is Advanced PHP programming, from the topic title it sounds like your talking about the later, PHP it self.

    I completely agree with what Jamie Rumbelow said about a programmer.

    I think you should look into what you considered advanced code.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases