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
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
Category MySQL | Tags: configuration, Zend, Zend Server
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.
Category JavaScript, PHP | Tags: javascript, PHP, programming
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.
Category JavaScript | Tags: BOM, Browser Object Model, Document Object Model, DOM, javascript
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.
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.
Category Git, Version Control | Tags: git, version control
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.
Getting to know basics behind the idea of version control is starting point on your way to start using one.
Category Git, Version Control | Tags: git, svn, version control
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!
Category JavaScript, jQuery | Tags: javascript, jQuery, linkedin
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.
Category Others | Tags: computing, programming
February 7, 2011 by Dusan Gledovic
Singleton is one of the creational design patterns. It serve purpose of “restricting the instantiation of a class to one object”. (wikipedia)
Because of its nature, JavaScript has different way of implementation of the Singleton Pattern than “traditional” object-oriented languages like Java, C#, PHP etc.
Category JavaScript, Object Oriented JavaScript | Tags: design patterns, javascript design patterns, linkedin, object oriented javascript
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.
Category General |