public marks

PUBLIC MARKS with tag bestpractices

July 2007

Exceptional Performance

by mbertier & 3 others
Yahoo!'s Exceptional Performance team evangelizes best practices for improving web performance. They conduct research, build tools, write articles and blogs, and speak at conferences. Their best practices center around the rules for high performance web sites.

Projects: Transliteration Extension - Derick Rethans

by mbertier (via)
This extension allows you to transliterate text in non-latin characters (such as Chinese, Cyrillic, Greek etc) to latin characters. Besides the transliteration the extension also contains filters to upper- and lowercase latin, cyrillic and greek, and perform special forms of transliteration such as converting ligatures such as the Norwegian "æ" to "ae" and normalizing punctuation and spacing.

[ANN] mod_concat

by mbertier (via)
The ability to concatenate CSS or javascript files into a single HTTP request.

0x000000 ◊ The Hacker Webzine

by mbertier
I've talked about CSRF before, but this time I wanted to show some of the underlying basics of it and explain why it isn't a new trick or something special. It is part of browsers and the way HTTP works, also to remove any argument that POST should be safer then GET. I know this is Internet basics, it still can be refreshing to read it over from time to time.

June 2007

PEAR :: Package :: PHP_DocBlockGenerator

by mbertier
Creates the file Page block and the DocBlocks for includes, global variables, functions, parameters, classes, constants, properties and methods. Accepts parameters to set the category name, the package name, the author's name and email, the license, the package link, etc... Attempts to guess variable and parameters types.

XSS (Cross Site Scripting) Cheat Sheet

by mbertier & 17 others (via)
This page is for people who already understand the basics of XSS attacks but want a deep understanding of the nuances regarding filter evasion.

HTML Purifier - Filter your HTML the standards-compliant way!

by mbertier & 19 others
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.

Mike Davidson: How To Keep Widgets From Slowing Down Sites: WEDJE

by mbertier (via)
WEDJE is similar to the innerHTML method above except it creates what is effectively a cross-platform, cross-browser defer, enabling your script to load and execute asynchronously across all environments.

James Carr » Blog Archive » TDD Anti-Patterns

by mbertier & 1 other (via)
Recently I began to write a paper on TDD Anti-Patterns, and decided to first quickly jot down some of the most common ones that others or myself have encountered “in the wild.”

Common Locale Data Repository

by mbertier & 2 others (via)
The Unicode CLDR provides key building blocks for software to support the world's languages. CLDR is by far the largest and most extensive standard repository of locale data. This data is used by a wide spectrum of companies for their software internationalization and localization: adapting software to the conventions of different languages for such common software tasks as formatting of dates, times, time zones, numbers, and currency values; sorting text; choosing languages or countries by name; and many others.

java.net: Exception-Handling Antipatterns

by mbertier & 1 other (via)
Should you throw an exception, or return null? Should you use checked or unchecked exceptions? For many novice to mid-level developers, exception handling tends to be an afterthought. Their typical pattern is usually a simple try/catch/printStackTrace(). When they try to get more creative, they usually stumble into one or more common exception handling antipatterns.

cashto's blog : Coding Against the Grain

by mbertier (via)
There are a million ways a program can be written, but only a subset of those are agile, maintainable designs. How do you go about finding them?

May 2007

Jimdo and Northclick Dev-Blog » Getting the PHP fatal errors

by mbertier & 1 other (via)
One big issue of the PHP error handling is that there’s no built-in way to catch fatal errors with an user-defined error handler. So I thought a little bit about it and maybe you have better approaches or solutions … The short goal is to send the error via e-mail to the developer(s). As we are security-aware, we’re logging errors and do not display them to the world. (Hint: that should be your default on every production machine!)

April 2007

BehaviourDrivenDevelopment - Behaviour-Driven Development

by mbertier & 4 others (via)
Behaviour-Driven Development (BDD) is an evolution in the thinking behind TestDrivenDevelopment and AcceptanceTestDrivenPlanning.

March 2007

Introducing MySQL Table Sync - Xaprb

by mbertier (via)
MySQL Table Sync efficiently finds and resolves data (not structural) differences between two MySQL tables, which may be on different servers. It offers two search algorithms to find the rows that differ, and several methods to bring the destination table into sync with the source.

Joe Gregorio | BitWorking | REST Tips: Prefer following links over URI construction

by mbertier & 2 others (via)
When putting together a table to describe your REST service, and believe me, I've been seeing a lot of these tables recently, there needs to be a distinction between the server view and the client view.

Dangers of CSRF and XSS / Articles / Community

by mbertier & 1 other (via)
In this article, we will show you how CSRF and XSS work and how to defend against them. To dispel the myths about these attacks, I will assume the role of a hacker and show how the supposedly harmless injection of tiny bits of HTML can perform amazing things, from stealing the user's identity to a completely transparent rewrite of site content.

PUBLIC TAGS related to tag bestpractices

ajax +   apache +   atom +   backup +   clevermarks +   css +   database +   design +   dev +   development +   documentation +   email +   ezpublish +   for:pedro.custodio +   formats +   greasemonkey +   groupe:clever age +   hotlinked +   howto +   i18n +   integration continue +   intranet +   javascript +   linux +   mysql +   oop +   optimisation +   patterns +   pear +   performance +   php +   php5 +   programming +   security +   slides +   sql +   standards +   subversion +   testing +   tips +   tools +   trac +   tuning +   ui +   usability +   web +   webdav +   webdev +   xml +   xp +