RSS Feed
  1. Cannot Log in to the Mysql on Zend Server CE Through phpMyAdmin (Error #2002)

    December 18, 2012 by Dusan Gledovic

    While using Zend Server CE I stumbled upon a problem, when I restart my machine I am not able to sign-in into phpMyAdmin. On sign-in trial I would get:

    #2002 Cannot log in to the MySQL server
    

    (more…)


  2. JavaScript and PHP switch statement

    July 20, 2012 by Dusan Gledovic

    Switch statement is one of the several flow controls encountered in programming languages. JavaScript and PHP as loose typed languages have some caveats when it comes to comparison within a switch.

    (more…)


  3. The Notes on JavaScript – part 1

    April 22, 2012 by Dusan Gledovic

    JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles.
    - Wikipedia

    JavaScript and ECMAScript are usually considered as being synonyms, but ECMAScript is basically JavaScript subset.

    (more…)


  4. Ignore files with .gitignore file and global .gitignore for Eclipse/Zend Studio project files

    March 22, 2012 by Dusan Gledovic

    Every now and then you have to set some files to be ignored in you Git repository, so that they do not get in your way, to stop making “noise” in your workflow.

    Three ways to tell a Git to ignore certain files

    Git ignore the Zend Studio way

    If you are using Zend Studio 9 with Git plugin that comes with it you should right click file you want ignored, hover over Team option in menu and select Ignore submenu (see picture below). This basically creates .gitignore file in root of the current project and sets file name of the file to be ignored in it or appends it to the file if one already exists.

    (more…)


  5. Guide to Version Control Systems (hub)

    March 22, 2012 by Dusan Gledovic

    Disclaimer: this is guide for few of my friends, but you can use it for your self with no strings attached (:.

    Version control system is must for every working developer. They are great time savers and must in every team environment, even in one man show teams (you just have to put your self together from time to time (: ).

    Me, I prefer Git, but, at the moment, I am using SVN at work on daily basis.

    Anyway, there are great resources around www you can use to get up to speed with Git and version control in general.

    Starting point in using version control

    Getting to know basics behind the idea of version control is starting point on your way to start using one.

    (more…)


  6. jQuery solution for form submitting on enter – the event capturing/bubbling problem

    May 27, 2011 by Dusan Gledovic

    Problem with form not submitting when Enter is pressed has its background in implementation of event bubbling and/or event capturing. In Internet Explorer events bubbles, on the other hand in other browsers events are being captured and bubbled. Yay!

    (more…)


  7. Big and Little Endian Explained

    March 4, 2011 by Dusan Gledovic

    I was looking for resource to refresh my memory on story of endians and stumbled upon this great post:

    Understanding big and little endian byte order

    I am really impressed how some people know to deliver such a great contribution to cyberspace.

    Bravo and thank you to the author Kalid Azad.


  8. Hello World

    January 15, 2011 by Dusan Gledovic

    After ages of “having more important stuff at the moment”, I finally did it, in 5 minutes as WordPress crew brags about, I set up the blog on my site, instead of my old site from freelancing era.

    I am looking forward to logging my thoughts on web development, programming etc.

    It’ll be fun.