The Geek Speaks
- Home /
- The Geek Speaks
Varnish and Magento Performance Mystery
- One minute - Apr 14, 2014
- #magento#varnish#performance
One of the things that you think you will solve when you implement a Varnish caching server in front of a Magento website is performance problems. However, this is not necessarily the case. When I set Varnish up to cache content in front of my Magento website, I get what seems to be much improved performance. If I run a few tests in the developer tools of Chrome, it seems that the waterfall chart makes sense and the data is loaded appropriately and in a timely manner with the main HTML being downloaded in about 300ms.
Read MoreHow Not to Use SQL Transactions
- 2 minutes - Apr 11, 2014
- #microsoft#sql-server
SQL Transactions allow you to isolate atomic operations so that you can ensure that a third party does not update the data affected during the atomic operation protected by the transaction. An example of an operation that you would want to protect with a SQL Transaction would be transferring funds from one bank account to another. The first step of this operation would be to subtract the funds from bank account A.
Read MoreUnexpected Results with SQL Server and Python pyodbc
- 2 minutes - Apr 10, 2014
- #microsoft#sql-server#python
Using the Microsoft SQL Server Management Studio (SSMS) with SQL Server hides many of the API complications that can sometimes arise when working with SQL Server. One specific example would be when using Python on Windows with the pyodbc driver. If you have an update statement that performs a simple update to a status column and a datetime column, you can have some unexpected results. Lets say that the table you are running the update against has a before update trigger and an after update trigger configured on it.
Read MoreSQL Server Transaction Log Exponential Growth
- One minute - Apr 9, 2014
- #microsoft#sql-server#python
There are few things more frustrating than seemingly random issues that crop up in software when configuration changes occur. One such occurrence is when you migrate your databases from Microsoft SQL Server 2012 Standard Edition to Microsoft SQL Server 2012 Enterprise Edition with High Availability and the transaction log suddenly begins to experience exponential growth without ceasing. It turns out that when using Python and pyodbc on Windows to access SQL Server, there can be some unpredictable results.
Read MoreWordPress and the Genesis Framework
- One minute - Apr 8, 2014
- #genesis-framework#wordpress
It turns out that working with WordPress and the Genesis Framework is quite a bit different than working with Magento or other blogging platforms. Ghost is a blogging platform that runs on NodeJs that utilizes Handlebars templates for the layout of the content on the website itself. Similarly, Magento uses its own templating system in .phtml files for laying out content on the screen. However, WordPress, and specifically the Genesis Framework have taken this simple templating concept and added quite a few layers of abstraction to come to the end result.
Read MoreSaving Products in Magento Deletes Tier Pricing
- 2 minutes - Apr 6, 2014
- #magento#tier-pricing
Magento’s framework makes many things simple to accomplish when working with the products and categories of your eCommerce website. However, I have found one scenario that doesn’t exactly work as expected. Tier Pricing in Magento Magento allows you to setup custom pricing levels based upon the quantity purchased. You set the minimum quantity purchased to enable the lower price when the part is added to the customer’s cart. You could see where losing the tiered pricing for an entire catalog of products would be a big deal for a site.
Read MoreCreating a Best-Sellers Category with Magento
- 2 minutes - Apr 4, 2014
- #magento
Magento allows you to organize products in categories, and a single product can be a member of quite a few separate categories. As a result, you can create a category that is specifically for your top selling products. You could manually keep track of which products sell the best, either by number of sales completed, or by the actual quantity of each product that were sold. If you want to spend all your time managing this category, then this is the way to go.
Read MoreSticky Menus and Mega Drop Down Menus
- 2 minutes - Apr 3, 2014
- #ux
There are time when UX best practices for the web don’t always provide the best experience for the users of a website. One example would be Sticky Menus and Mega Drop Down Menus. A Sticky Menu is a navigation bar that is stuck to the top of the screen when scrolling, usually with position:fixed;top:0; set on the menu itself. This ensures that no matter how far the user scrolls on the page, the site’s navigation is always available to the user without having to scroll to the top of the page.
Read MoreCan Legacy Internet Explorer Go Away Already?
- 2 minutes - Apr 2, 2014
- #internet-explorer
For years, Internet Explorer was a four-letter word around web developers. Recently, Microsoft has stepped up their game when it comes to their web browser. I almost have to pinch myself to make sure I’m not dreaming when I type this, but Internet Explorer 10 and 11 are decent and modern web browsers that many websites don’t have to do anything special to support. However, Internet Explorer 9 and before are another story.
Read MoreHover Effects in JavaScript?
- One minute - Apr 1, 2014
- #javascript#css
One of the things that can be annoying when looking at someone else’s code is when a more complex technology is used to solve a problem that can be handled more simply with another method. An example of this is when you utilize JavaScript to implement a hover effect on some elements. I know of one scenario when you would need JavaScript to trigger a hover effect, and that would be when you want to trigger the hover effect with a touch event.
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