Joined November 2012

Gjero Krsteski

Software Developer at PIMF
Software Developer

Yes, that is true. But onlly in MySQL. Thank you :-)

I would warmly suggest you this page There you can read about all above mentioned topics ;-)

Posted to PHP Performance Tips over 1 year ago

Some core principles for 2013/2014 to performant PHP applications:

  1. Upgrade to PHP 5.5 with Zend OpCache or APC using PHP-PFM + Nginx
  2. Stay up to date with your framework + dependencies (using Composer)
  3. Optimize your session store to use signed cookies or database with caching
  4. Cache your database and web service access with Memcache, DBA or Redis
  5. Do blocking work in the background with queues and tasks using Resque or Gearman
  6. Use HTTP caching and a reverse proxy cache like Varnish
  7. Profile code with Xdebug + Webgrind and monitor production performance

New version 1.8 is out now!

Posted to High-Value Shell Aliasing over 1 year ago

usefull article. thank you :-)

Hey :-) I am not that so good with JAVA. But a Value Object represents itself a fix set of data and is similar to a Java enum. A Value Object doesn't have any identity, it is entirely identified by its value and is immutable. A real world example would be Color.RED, Color.BLUE, SEX.FEMALE etc.

You can use also a more elegant way. You can tell php unit at the phpunit.xml to convert errors to exceptions.

... convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" ... </code>

read here

Posted to JSON-encode objects: JsonSerializable over 1 year ago


OK. This tip is useful if you develop in a test-driven manner :-)

591 Karma
37,910 Total ProTip Views
Interests & Skills