The Geek Speaks
- Home /
- The Geek Speaks
Defensive Development - Fail Fast or Go Home
- 2 minutes - Jun 2, 2014
- #magento#javascript#design-patterns#management
Defensive Development is a programming practice that is frequently misunderstood, but is nevertheless a critical practice to follow when working in many environments. I have seen articles written that argue that defensive development simply causes nonsensical null checks to be written, and as a result of seeing people writing bad code defensively, argues that no one should practice defensive development. There are other articles that, like many things in software development, argue that you should always use defensive development for everything.
Read MoreAvoid SiteCatalyst's useForcedLinkTracking and target="_blank"
- 2 minutes - May 23, 2014
- #javascript#rant#sitecatalyst#safari
All sites rely upon some third party analytics software to track at the very least the number of visitors to a site. Many sites use Google Analytics, which provide much more information that just the number of visitors. Another option that some of the bigger sites use is Adobe Analytics, aka SiteCatalyst to enable more custom tracking options that are not evident through the Google Analytics interface. One feature of SiteCatalyst is that it allows you to set an option useForcedLinkTracking that will track every link on your site for clicks whether or not you have setup custom tracking for the links or not.
Read MoreWindow.Open Causes Browser Compatibilty Issues
- One minute - May 21, 2014
- #internet-explorer#javascript#chrome#firefox
One of the things that always annoys me as a web developer is when native browser functions that are accesible from JavaScript do not share the same function signature. One perfect example of this is the window.open function. When you are using non-Microsoft browsers such as Firefox and Chrome, you are able to make a call something like this window.open(url, 'window name', 'dimensions or other settings');. The window name parameter is important because it allows you to open multiple links in the same external window/tab.
Read MoreGoogle Analytics Site Speed is a bit Unreliable
- 4 minutes - May 19, 2014
- #internet-explorer#performance#chrome#firefox
Google Analytics will now allow site owners to track the performance of their websites with real live traffic. This is a nice feature that lets you understand just how long it takes for the average visitor to your site to see the fully complete version of your website. While this sounds like a great tool that will give you an accurate view of yoru website’s performance, it does not tell the full story.
Read MoreResponsive Images with Picturefill 2.0
- 2 minutes - May 14, 2014
- #responsive-web-design#javascript#performance
Responsive Web Design seems to be the way that the majority of websites will be developed in the near future. For a while, everyone was creating a separate website that catered to mobile devices in addition to the main website that desktop browsers were able to access. Web Developers and UX Designers quickly discovered that this was a less than ideal approach as it required maintaining two separate websites, and the mobile website tended to remove data that was visible on the desktop version of the site.
Read MoreMobile Web Development Is the New Internet Explorer 6
- 2 minutes - May 12, 2014
- #internet-explorer#responsive-web-design#rant
Developing a website that works well across devices and browsers is an excersize in playing Whack-A-Mole. Once you get one browser working on a desktop browser, you go to the next browser and find that not everything works the same way. In 2014, it seems that there aren’t that many differences in functionality between desktop browsers, but that all changes once you start making a responsive website that must handle mobile devices as well as it does desktop browsers.
Read MoreAvoid SQL Deadlocks -- Break Up Large Updates
- 2 minutes - May 8, 2014
- #sql-server#mysql#sql
Deadlocks in SQL occur when one query locks certain rows, frequently for updates, and a second query tries to update those same rows. The second query will then create an error as those rows are unable to be updated since they are in the middle of an update from another query. One of the surefire ways to create a slow running update query like the first query above is to hava a single update statement that will update a large number of rows at once.
Read MoreMicromanagement Ruins Teams
- 2 minutes - May 7, 2014
- #management#teams
It seems that the management thinking these days is that managers should empower their employees to make decisions and implement the actions behind these decisions. This works great when you have a team and management that has mutual trust with a mutual goal. However, when the manager does not trust the members of the team, or thinks that they have to be the one to make every decision or have input into every task, the empowerment disappears.
Read MoreUnintended Consequences with Magento Observers on Sales Orders
- One minute - May 6, 2014
- #magento#performance
Anyone that uses Magento to place orders will be hard-pressed to consider this process a speedy one. While it takes a while to process the order under the best of circumstances, there are a few things that you can do that actually make it worse. One of those things that can make it worse is creating an observer that runs in the middle of the saving of the order processes that is always slow-running, or continues to get slower over time as the data that the Magento site grows.
Read MoreMagento Version 2, is it just Microsoft Windows Longhorn AKA Vista?
- 2 minutes - May 2, 2014
- #magento#rant#windows-vista
Magento version 2 was first introduced in 2010. It is now almost halfway through 2014, and the public has not seen any alpha or beta release of Magento version 2 as of yet. The new version of Magento promised to replace PrototypeJS and Scriptaculus with jQuery as well as reorganize the database schema to remove the slow EAV tables and migrate to a bit of a flatter table structure. However, it seems that the latest updates on the direction for Magento 2 show that the database schema will not be changed much after all.
Read MoreTags
- 100pounds
- 2020
- adblock-plus
- agile
- apache
- apple
- authorize-net
- bing
- bingbot
- blog
- book-reviews
- cache
- chrome
- cloudflare
- compass
- conversion
- css
- culture
- design-patterns
- development
- disqus
- Docker
- firefox
- genesis-framework
- ghost-tag
- githubpages
- helper
- how-not-to
- how-to
- html
- hugo
- internet-explorer
- interviews
- iphone-6
- javascript
- jekyll
- jquery
- laravel
- macOS
- magento
- magento 2
- magento2
- management
- microsoft
- mysql
- netlify
- nginx
- nodejs
- OSX
- performance
- personal
- php
- programming
- python
- rant
- responsive-web-design
- safari
- scrum
- security
- series
- sitecatalyst
- sota
- sql
- sql-server
- teams
- testing
- tier-pricing
- tips
- tmobile
- unittest
- ux
- varnish
- visual-studio
- web-development
- windows-7
- windows-vista
- woocommerce
- wordpress
- xml