The latest version of Firefox (24.0) offers some interesting new features, among which the possibility to view your site (any site) in Responsive Design Mode. So if you want to know how your site looks like with a mobile device (Iphone, Ipad etc.), view it using Firefox.
(Not that I care much about people who use devices that inherently offer poor website vision, of course).
Pages that contain heavy script files may produce a white flash (flicker) when the user navigates between them. This flicker often occurs in IE and Chrome, less often so in Firefox. There are different solutions proposed on the Internet for solving the problem. I noticed they don't always work.
There's a good chance the flicker goes away if you do the following:
- Put your html-lines before your js-lines as much as possible. We can often move scripts (normally put in the head
Updated 08-12-2013 at 06:44 PM by molendijk
(To see and test what this is all about, you should download Safari if you haven't already done so. After that, use the code below with popup blocker enabled AND with popup blocker disabled, using Safari).
When a new window or tab is not explicitly requested by the visitor of a site i.e. when the window's appearance is attached to such events as onload or onunload, popup blockers (if enabled) will prevent a file from being opened. But when the window's appearance is attached to an
Updated 12-07-2012 at 11:58 PM by molendijk
Yes, the tutorial is still coming. It's big. It's in progress.
I read this recently and was intrigued. Don't know if anyone else would care or not ...
The author, nikic, does a great job summarizing the difficulties and potential benefits of type hinting, as well as giving a good explanation as to why PHP's implementation is incomplete. Personally, I look forward to being able to type-hint any type. It could save me a lot of code validating args, and I could
Updated 12-01-2012 at 04:48 AM by traq
I wanted to take a few moments to talk about some of "the basics" that are all-to-often glossed over...
A Matter of Style
In general, I find that most PHP programmers fall into one of three main programming styles:
procedural: a simple ordered set of instructions, nested if's/ else's, etc.functional: functions are little code containers that you can call on when needed. You [usually] give them arguments, they [usually] return values to you.object-oriented:
Updated 12-17-2012 at 03:49 AM by traq