Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
  Print Thread
Standard User deleted
(deleted) Thu 22-Jun-06 15:41:08
Print Post

Writing Professional PHP and MySQL Apps..


[link to this post]
 
i'm thinking of writing an application that may scale up to a national website eventually. my skills are adequate currently.

can anyone recommened any books for good coding practices? optimising code, utilising modules etc.

tia
Standard User Sandgrounder
(fountain of knowledge) Thu 22-Jun-06 23:29:08
Print Post

Re: Writing Professional PHP and MySQL Apps..


[re: deleted] [link to this post]
 
PHP for the World Wide Wed - Larry Ullman - ISBN 0 - 201 - 72787 - 0

I bought my copy in 2001, so it may be out of date now.

And, of course, www.php.net


ZeN Home 500 - DrayTek Vigor 2600VG
Acorn RiscPC700 (RiscOS 3.5) - Acorn A410 (RiscOS 3.1) - Sun Ultra 10 (Solaris 7)
Standard User deleted
(deleted) Fri 23-Jun-06 11:14:23
Print Post

Re: Writing Professional PHP and MySQL Apps..


[re: deleted] [link to this post]
 
algorythm - to me good code comes from common sense, and from being able to see simple solutions to complex problems. You've never struck me as being short of common sense so that's a good start

It may well be worth paying your local library a visit to see what they have on the subject of software engineering. It's important to consider the whole process, not just the act of writing code. If you can get the overall process right, the coding bit becomes easier - you know right from the start what it is you're trying to achieve (in significant detail) thereby allowing to to make well informed decisions regarding what bit of code wants to sit where and how flexible it needs to be (over engineering can be as bad as under engineering)

From personal experience, and seeing how some of my less experienced colleagues suffer, I still think the best way to code is to write a bit, test it, write a bit more, test it. Debugging becomes a lot easier when you know you're only concentrating on a few blocks of code at a time. The result (again, in my experience) is code that is more robust and easier to navigate.

It doesn't matter if you build your code top-down (framework, then detail) or bottom-up (modules then framework) as long as you have the end goal in sight. You don't want to end up with the 'christmas tree' effect where you've got loads of cr@p all plugged in together with no sense of cohesion

Hope this is of some help and isn't too patronising


Register (or login) on our website and you will not see this ad.

  Print Thread

Jump to