Skip to content
  • Archives
  • Buy Adspace
  • Contact me
  • Hide Ads for Premium Members

zen of coding

holistic web development

  • Archives
  • Buy Adspace
  • Contact me
  • Hide Ads for Premium Members

Month: November 2010

  • Home
  • 2010
  • November

Type checking vs too much typing…

November 28, 2010 vladko

This had me pondering for a minute. Quite often I write code along the lines of: public function doStuff($stuff, $complex = FALSE) {   if

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email

Like this:

Like Loading…
Read More

Show git branch in your bash prompt

November 27, 2010 vladko

Quite a convenient little snippet. Thought I would share it with all my dear readers and git lovers. (Thanks to the original author, whom I

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email

Like this:

Like Loading…
Read More
CakePHP

Helpful jQuery modals

November 9, 2010August 27, 2013 vladko

This post is actually mostly about jQuery (with some cake sprinkles), but why not… Let’s examine a typical situation: We have a Product model, which

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email

Like this:

Like Loading…
Read More
CakePHP

Very hacky way to get client’s country code based on IP

November 5, 2010 vladko

You’d think that by now there should be an easier way to accomplish something like this. (i.e. Send a client IP to some service, and

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email

Like this:

Like Loading…
Read More

New Posts

  • I don’t bother with “whiteboard interviews”.
  • PHP MVC Frameworks preview of 2018 (Phalcon 3, Symfony 4, Laravel 5.x and others)
  • Case study: building a better search with Algolia and Lumen PHP
  • The State of PHP MVC Frameworks in 2017 (Laravel, Symfony, CodeIgniter, CakePHP, Zend)
  • The great PHP MVC Framework Showdown of 2016 – (CakePHP 3 vs Symfony 2 vs Laravel 5 vs Zend 2)

Top Posts & Pages

  • Easy CakePHP logging to FireBug with DebugKit and FirePHP
  • Upgrading Ubuntu to 14.04, 500 errors because of .htaccess and other fun things...
  • The great PHP MVC Framework Showdown of 2016 - (CakePHP 3 vs Symfony 2 vs Laravel 5 vs Zend 2)
  • PHP MVC Frameworks preview of 2018 (Phalcon 3, Symfony 4, Laravel 5.x and others)
  • Redirecting to the home page
  • JQuery in the CakePHP world (part 1 - the basics)
  • "Error: Database connection "Mysql" is missing, or could not be created". CakePHP 2.0 -- cake bake trouble
  • I can't get my estimations right... Top issues and remedies
  • Set variable in the view to be used in the layout
  • CakePHP + MySQL + Tinyint(1) = Confusion
November 2010
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« Oct   Dec »
All Rights Reserved 2024.
Proudly powered by WordPress | Theme: Fairy by Candid Themes.
%d