Reply to comment

Best Practices bei der Entwicklung von PHP-Anwendungen

Auf der ZendCon 2008 haben zwei bekannte PHP-Entwickler einen Vortrag über Best Practices der PHP-Entwicklung gehalten und diesen nun veröffentlicht.

Hier die Kernaussagen, die ich allesamt fett unterstreiche:

  • Keine menschlichen Eingriffe auf einem Produktionsserver. Stattdessen die nötigen Prozesse hier automatisieren und somit sowohl Sicherheit als auch Wiederverwendbarkeit erhöhen
  • Immer einen Staging-Zustand zwischen Entwicklung und Produktionsstatus einbauen, in dem die Software noch einmal ausführlich (von anderen Personen) getestet wird.
  • Symbolische Links auf dem Server für häufig zu aktualisierende Komponenten (wie z.B. Frameworks) verwenden und diese umlenken, anstatt Inhalte zu kopieren/überschreiben
  • Automatische Tests verwenden, die unbedingt 100%ig funktionieren müssen. Ein Testsystem, das regelmäßig alle Tests auslöst, muss dabei so lange nerven, bis alles läuft
  • Tests auch auf dem Staging-Server laufen lassen, damit reale Einsatzbedinungen herrschen.

Weitere Infos gibts auf:
http://devzone.zend.com/article/9930-The-ZendCon-Sessions-Episode-26-Bes...

Die Präsentation auf Slideshare gibts hier:
http://www.slideshare.net/weierophinney/best-practices-of-php-developmen...

Einordnung:

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Internal paths in single or double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or path. Paths to files in single or double quotes, written as "files:somefile.ext", for example, are replaced with the appropriate URL that can be used to download the file.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><blockquote>
  • Lines and paragraphs break automatically.
  • Pairs of<blockquote> tags will be styled as a block that indicates a quotation.
  • You can enable syntax highlighting of source code with the following tags: <c>, <cpp>, <css>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <smarty>, <xml>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Textual smileys will be replaced with graphical ones.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.