The Geek Speaks
- Home /
- The Geek Speaks
JavaScript Templating
- 2 minutes - Mar 31, 2014
- #javascript
Many times it becomes useful to be able to make an AJAX request for some data, insert it into some HTML that is already on the client, and then display it to the user. There are a few ways to implement this, each approach has its benefits and drawbacks. String Concatenation Possibly the simplest way to accomplish the templating in JavaScript is to use simple string concatenation with ‘+’. This is the approach that I see many newcomers to JavaScript use in their code, as it is the simplest to implement.
Read MoreLogin Problems with Magento and Varnish
When you have a Magento website configured to use Varnish as a caching frontend, there are certain scenarios where you may have some problems logging-in to the frontend of the website. It poses some unique problems that are not frequently seen on a typical website. This issue typically manifests itself to the end user by visiting the login page, entering the correct credential, submitting the form, and then the page reloads the login page again instead of redirecting to the My Account page or whatever page is specified in the configuration.
Read More301 Redirecting in Varnish
In Magento, you can set your secure and non-secure URLs explicitly. This works as expected in most cases, but can cause some issues when you have to specify full URLs or need to make any AJAX requests. When using the Nexcess Turpentine extension to enable Magento and Varnish to work together and you wish to only support traffic at www.example.com and not example.com, you would need to enable the setting in the Turpentine module to normalize the host.
Read MoreLaunching a Redesign of a Website
- 2 minutes - Mar 28, 2014
- #magento#responsive-web-design
Over the last few months, I have been working on a major redesign of an existing Magento website. One of the major goals of the redesign was to take a legacy desktop-only website and upgrade it to take full advantage of Responsive Web Design so that customers could equally utilize mobile and desktop devices to browse and purchase products. For a site that had seen only minor updates over the last 5 years, this redesign represented a major change visually and navigationally from the previous site.
Read MorejQuery.hover Issues in Internet Explorer on Windows 7
- One minute - Mar 27, 2014
- #internet-explorer#jquery#windows-7
When creating a new mega-dropdown menu for a site I was working on, I used jQuery’s .hover event to trigger which content the menu was displayed. This seemed to work as expected in most browsers that I tested in, except for one, Internet Explorer. Unfortunately, it wasn’t even in every instance of Internet Explorer. Windows 7 After Windows Vista came out as one of the biggest duds that the world has ever seen, Windows 7 was a ringing success.
Read MoreMagento FrontName Naming and SSL/HTTPS
One of the things that has always been an issue for sites that are based on Magento is that they are slow. Well, to be fair, sites using Magento Enterprise Edition that take advantage of the built-in full-page caching functionality seem to have decent page load times. One way to take care of this slow load time issue is to utilize a third-party full-page caching solution such as what Varnish provides.
Read MoreMagento Cache with Cache Disabled
One of the things that I find quite annoying with a web platform is when you configure it to do one thing, and it does something different. Magento is an eCommerce software platform that many of the leading eCommerce websites use for their web stores. Magento Magento comes in two different flavors, a paid enterprise edition as well as a open-source community edition. The enterprise edition allows you to utilize the built-in full-page caching mechanism, while the community edition does not include a full-page caching solution.
Read MoreWelcome to The Geek Speaks
- One minute - Mar 24, 2014
Way back in August, 2012, Scott Hanselman had a great post about how our keystrokes are wasted by blogging/writing for another company or any locations where you don’t control your own content. All that time ago, that post inspired me to put more effort into writing on this blog, however, life got in the way, and I never really was able to get started blogging. Not to mention, that I really don’t like using WordPress for hosting my blog, as it seems to be quite the target hackers looking to hack into systems.
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