Link-urile săptămânii 22-28 august

  1. Avoiding The Quirks: Lessons From A JavaScript Code Review;
  2. IE6 a făcut 10 ani! Eu zic că e suficient…
  3. jQuery Performance Tips and Tricks;
  4. Line-height in input fields
  5. Improve Responsive Designs & Re-Use Images With CSS3’s Background-Size Property;
  6. Event delegation for touch events in JavaScript;
  7. WordPress Initialization (cred că acest link a mai fost pus, dar nu sunt foarte sigur);
  8. Getting rusty – we need new best practices for a different development world;
  9. Top 10 Easy Ways to Squeeze Optimum Productivity from Your Day;
  10. The Programmiss and Male Services.

I’ve seen several premium WordPress themes that used different kinds of featured sliders for home page. Is nothing wrong here, it’s a good way of putting important thing first. What it bother me is this silly thing: to add an article to the feature slider you have to use a certain tag. Or worse, a certain category! That’s SILLY and very not user friendly (don’t forget that many editors are very non-technics!).

I developed several WP theme over the last two years and I used to make things in the very same way. Until I had few complains from final clients (sometimes I work for the middle man) that the „tag” way is very user-not-too-friendly. So I had to find another way of doing this.

Custom Fields way

The most easy way of having a way to sort things up is the use of custom fields. So you can add a custom field, named let’s say… featured with the value true. Or something similar. This way you can add some description too, a different title and other goodies.

Custom fields issues

Even if custom fields sounds the right choice, there might be a small problem. Let’s say your awesome blog has only one featured post per month (or even week). As a very busy man, you will probably forget if the custom field was feature or featured. And the value was true, yes or just 1 ? Hmmm…

The solution is…

Custom Fields with Write Panels!

How about this: a very neat panel with a checkbox? That’s all you will need. The whole thing is just one click away!

Is a very easy way of doing the whole thing and very easy to implement.

The whole code is here: Citeste mai departe »

Zoso arată, mai în glumă, mai în serios, cum poți face orice site o aplicatie pe device-ul tău iOS. Dar asta din punctul de vedere al utilizatorului.

Ca owner de site ar fi bine să faci două chestii:

1. Launch Icon

<link rel="apple-touch-icon" href="/touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/touch-icon-iphone4.png" />

Long story short pui o imagine în public_html (sau echivalentul) pentru fiecare format ( 57×57 – default, 72×72 – ipad și 114×114 – iphone 4 / retina display )

Mai multe detalii aici.

2. Browser Bar

<meta name="apple-mobile-web-app-capable" content="yes">

Mai multe detalii aici.

Enjoy!

windows apple dropbox facebook twitter