337 reputation
1310
bio website ad7six.com
location Spain
age 38
visits member for 2 years, 6 months
seen 2 days ago

Professional web developer.

Mostly php (CakePHP team member), some node.js, various databases/datastores - and a dash of linux (arch with a smidgen of ubuntu server).


May
25
comment why create mobile applications for web oriented programms, if it's just possible to use websites?
It doesn't have to be all or nothing - signalvnoise.com/posts/…
May
25
comment why create mobile applications for web oriented programms, if it's just possible to use websites?
By contrast, there's now a bit of a push back from users jaded by being forced/pestered to install an app that offers nothing you can't do with a (existing) mobile web interface.
Apr
30
revised Is it considered bad practice to run different JavaScript for IE
Better formatting
Nov
5
comment is it bad that I have no html, or javascript in my php files
Look at the kind of skills require for frontend jobs - where listed, a server-side language is typically a bonus and almost informational (I use jobs merely as a supportive reference). For example: If you only know php I would not advise describing oneself as a frontend developer :)
Nov
5
comment is it bad that I have no html, or javascript in my php files
I would say that nowadays frontend means literally code that a user receives i.e. html, js, css. A frontend developer may/typically know only about these technologies. OR: Building html pages with php does not make php a frontend language, just as serving a webpage with apache doesn't make apache configuration a frontend technology =)
Feb
25
awarded  Constituent
Feb
20
awarded  Caucus
Jan
26
awarded  Yearling
Jul
19
comment Handling Errors In PHP When Using MVC
@chao I suggest you read MainMa's answer which more clearly puts out the same message, rather than continue to beat your straw man. validating user input doesn't "guaranteeing your data's valid"; validating user input doesn't give you the option to assume database errors don't occur; you don't handle db errors "just in case" you handle them always; the unique validation mention is by far not the cornerstone of this answer which tries to stress "don't use exceptions for flow control". I think you're making huge assumptions and an answer from you would be valuable to clarify what you think.
Jul
19
comment Handling Errors In PHP When Using MVC
@chao - /me shrugs. Most major php frameworks come with a unique validator out of the box. Handling a db error is not the same thing as - and shouldn't be handled by - validation logic. I find your replies to be mostly off topic, if you would like to illustrate your ideas regarding exceptions - please create an answer.
Jul
18
comment Handling Errors In PHP When Using MVC
@cHao unique key !== primary key. A table can have multiple unique key constraints, and a unique key violation is only one cause of an insert/update failing. Race conditions do happen - but that's an incredibly weak argument against (the very common practice) of using an isUnique validation rule.
May
21
awarded  Fanatic
May
17
awarded  Nice Answer
May
16
revised Is it considered bad practice to run different JavaScript for IE
add jquery as another dont-user useragent sniffing example; added 54 characters in body
May
16
answered Is it considered bad practice to run different JavaScript for IE
May
11
awarded  Commentator
May
3
comment foreach($items as &$item) considered harmful?
referenced blog article seems to be simply FUD
May
1
answered foreach($items as &$item) considered harmful?
Mar
12
awarded  Enthusiast
Mar
7
comment Unit testing - Database coupled app
Interesting that the answers which effectively say "rewrite your app code" get voted up