Below you will find pages that utilize the taxonomy term “Tutorials”
AEM Blank Slate Starter Site
An Adobe Experience Manager (AEM) “Blank Slate” basic starter site example to demonstrate creating basic pages, templates and their components. This site uses static templates and covers a couple of key AEM concepts including the Proxy Component Pattern. This tutorial was created using AEM version 6.4
Hugo + Node.js Koa App Connected to MongoDB Part II
In part 2 of the series, we’re adding the site content to a search.json
file when the Hugo static site is built and importing it into a MongoDB collection. Then in the Node.js Koa app, we create an API endpoint that returns search results from the collection in MongoDB.
Hugo + Node.js Koa App Connected to MongoDB
This project demonstrates how to create a development environment utilizing a Docker stack of Nginx to serve the static website, Nodejs for the api applications, MongoDB for the api data and Traefik for reverse proxy. This stack is suitable for deployment to staging and production environments.
Slick Carousel Responsive slidesToShow Recipe
Designs typically require more than the out of the box demos provide, which is understandable. The slick carousel demos will get you most of the way there and provide examples for various settings. This post is an example of how to dynamically update the slick slidesToShow
value as the viewport is resized, demo.
Hugo Content with Pages and Navigation
While converting my WordPress content into markdown files for Hugo, I wanted to keep my permalinks exactly the same. For my existing content that spans more than a single page, I created a way to do this without server rewrite rules or Hugo aliases that use meta refresh
which is sub-optimal for SEO performance.
Hugo Static Site Generator Blank Starter Theme
I’m in the process of converting my WordPress site into a static site compiled from markdown files using the Hugo static site generator. For this task, I created a blank Hugo starter theme that uses Webpack and optional webpack-plugin-serve for UI development build live reload.
AEM Dispatcher CentOS Virtual Machine Setup
How to setup AEM Dispatcher on a CentOS Virtual Machine (VM) alongside Author and Publish instances. This solution gives an Adobe Experience Manager developer a complete end-to-end environment for local AEM development.
Xdebug for Mac OS X PHP
Follow these instructions for PHP provided with Mac OS X to phpize
Xdebug source, configure, build and install the PHP Xdebug extension.
New Webpack Development Server Plugin
I always thought it was odd to use the webpack-cli
command webpack-dev-server
instead of webpack
in my npm script for development. Lo and behold, last month, webpack-plugin-serve
was released, a new webpack plugin to use instead of the quirky webpack-dev-server.
How To Create a WordPress Shortcode for flickr Albums
How to create a WordPress custom shortcode to display photos from flickr. This post documents using the Slick Lazy Load Photo Grid along with the flickr API to render photo albums in Wordpress Posts wherever the shortcode is entered. Webpack 4, autoprefixer, and babel are included for building the JS and CSS.
CSS Flexbox with Sidebars Toggle
This post documents how to create a fully responsive flexbox content layout that contains a pure CSS open/close toggle for the left and right sidebars. The CSS is built from Sass using Webpack with Autoprefixer. For development, a Webpack Dev Server is included.
Completely Blank (no css) _s WordPress Starter Theme
This post documents how to take the WordPress Starter Theme _s or underscores, if you like and build only the CSS components you want using Webpack 4. This modern toolset also includes autoprefixer and browserlist support.
Completely Blank (no css) _s WordPress Starter Theme - Page 2
WordPress from Development to Production using Docker Part II
This post continues where part one left off. Topics include mysql data migration, staging and production docker configurations with optional https.
WordPress from Development to Production using Docker
This post will cover how to use Docker for a local WordPress development environment and how to deploy it to an Ubuntu Linux server running docker.
SSL Certificate Authority for Docker and Traefik
This post documents how to get https working on your local Docker development environment using Traefik as a reverse proxy for multiple services.
Webpack 3 Sass cssnano Autoprefixer Workflow II - Page 2
Webpack 3 Sass cssnano Autoprefixer Workflow II
Slick Lazy Load Photo Grid Using Webpack 3
How to layout and lazy load images in a flexible grid similar to how facebook displays them in a post. Selected images open a lightbox for previewing within a carousel. Image alt text is converted into a caption below the image. YouTube Video
Webpack 3 Sass cssnano Autoprefixer Workflow
Drupal 8 Custom Block Module Dev
For those ready to move beyond a simple “Hello World” module, this post documents building a Drupal 8 module with a Giphy search form in a custom block. The form uses jQuery to request data from the Giphy API and display the results.
WordPress Post from Front End using REST API and Vue.js
This post is a simple proof of concept for using the new WordPress REST API to submit a new post draft from the front end. The form and user inputs are built using the Vue.js framework and vue-cli to create a simple Webpack build configuration. Demo on YouTube
WordPress Post from Front End using REST API and Vue.js - Page 2
Laravel JWT Auth with Vue.js 2
This post is a refresh of Laravel JWT Auth with Vue.js I posted in September that applies to the 1.x version of Vue.js. Evan You released vue.js version 2 shortly thereafter and this post will cover building the Laravel JSON Web Token based authentication with it.
Laravel JWT Auth with Vue.js 2 - Page 2
Laravel JWT Auth with Vue.js 2 - Page 3
Laravel JWT Auth with Vue.js
This post documents using Laravel to build JSON Web Token based authentication with a Vue.js 1.0 user interface. UPDATE: vue.js 2.0 version published.
Laravel JWT Auth with Vue.js - Page 2
Handlebars Templates with Browserify
This post documents how to use the hbsfy precompiler plugin for Browserify to compile Handlebars templates into javascript. With this design, templates can be required as javascript modules in the views that use them.
Laravel User Registration with Email Activation
This post documents how to add an e-mail confirmation to the Laravel User registration that is generated by the Artisan console. In this example, the registered user will not be able to login until the activation link that is sent to the users registered e-mail account has been loaded into the browser.
Laravel User Authentication with Ajax Validation
This post documents how to add Ajax form validation to Laravel User Authentication that is generated by the Artisan console.
Google Maps API with Browserify
This post documents how to use local JavaScript modules with Browserify and the Google Maps JavaScript API. In this example, the Google Map contains a marker that can be dragged to reset the browser form with the marker position location data. Additionally, Browserify shim is used to require jQuery since it is already being loaded from a CDN.
Xdebug for XAMPP on OS X
After discovering how nice the vscode-php-debug extension works in Visual Studio Code on my Windows 10 laptop, I wanted this same setup for a PHP project on my work Mac Book Pro running OS X Yosemite (10.10). The version of XAMPP I currently have installed on the Mac is 5.6.11-0 and for this tutorial, there are a few requirements to consider…
Customizing Media Manager
These examples show how to load copies of com_media
views and templates instead of their core counterparts for customization without hacking any core Joomla files.
Google Maps API RequireJS Module
This post documents how to create a RequireJS module that loads the Google Maps JavaScript API and is used by a web page to populate form inputs with location data. The Google Map contains a marker that can be dragged to reset the form with the marker position location data.
Joomla Hello World Module
This post documents my experience while following the Creating a simple module Joomla 3.x tutorial. I am brand new to Joomla and wanted to share my experience for anyone else trying to develop, install and demo this module in their Joomla 3 environment.
Wordpress Page Specific Styles or Scripts
I wanted an efficient way to load page or post specific stylesheets and or scripts which lead me to see if I could utilize custom fields for this. Using custom fields combined with wp_enqueue_style and wp_enqueue_script worked perfectly. This solution allows me to link css or javascript files for only the posts or pages I want.
Browserify with Sourcemaps
Browserify lets you write modular JavaScript in node.js style. At the beginning of each module you write, the respective dependencies are added using require statements. Then Browserify compiles the modules along with all of the dependencies into an optimized JavaScript file for use in the browser.
Visual Studio MVC Bourbon Web App
It is now 2015 and with it a new version of Visual Studio that includes tools for Bower front end package management, Node Package Manager (NPM) and the Grunt JavaScript Task Runner. Not surprisingly, Microsoft has its own way of implementing Grunt, Bower and Node Modules in their upcoming Visual Studio debut. You don’t have to wait for Visual Studio 2015. Grunt, Bower, Node Modules and Bourbon can easily be included in a Visual Studio 2012 MVC 4 web application.
Bourbon
This post is not about a barrel-aged distilled spirit made primarily from corn. Instead, it is about a Sass mixin library. To add Bourbon to your web project, visit the Bourbon GitHub repo and take a look at the requirements.
XAMPP Windows Setup
Documenting my XAMPP for Windows setup for myself and anyone else who finds it useful. For those of you that do not know, XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. I still have my Virtual Machine for LAMP Development which I will use for test deployments of my localhost LAMP development prior to production deployment. This local XAMPP setup will be better for debugging, working with node modules and grunt tasks for preparing the deployment build.
Bootstrap Customization
This tutorial covers using Git to clone, branch and merge the latest Bootstrap source code, modifying and compiling your modifications to the source LESS variables using Grunt and viewing your compiled changes with a local Node.js web server.
Grunt JavaScript Task Runner
This tutorial describes how to setup and use the Grunt JavaScript task runner to automate repetitive tasks such as minification and compilation. Grunt is installed using npm, the Node.js package manager. You will also need Git to work with the tagged source code. This makes it easy to reset and compare your working copy of the code at each step. I discovered commit tags while using the AngularJS tutorial.
Virtual Machine for LAMP Development
This blog post addresses a common scenario — a local LAMP development environment on your Windows or OS X computer. You could use XAMPP on either Windows or OS X, MAMP on OS X or native Apache in OS X. Here, we will create a Linux virtual machine with Samba configured to share the Virtual Machine file system with the host computer. We will also create virtual hosts, install and configure WordPress and Xdebug.
AngularJS Cascaded Selects
As a follow up to jQuery Mobile Cascaded Selects using MVC4 and KnockoutJs, I have created this AngularJS Cascaded Selects tutorial that gets it’s data from the Chinook Web API Project. The application uses angular data-binding and the ngOptions attribute to dynamically generate a list of option elements for each of the three HTML select elements.
DNN Windows Client
This tutorial will walk you through the creation of a basic Windows Forms application to test remote authentication and authorization when communicating with a DNN CMS web portal using its web services framework / Web API. This is for development and educational purposes only running locally. You will at least want to make sure that you have SSL enabled for your DNN Web Services in a real world scenario.
Mint LAMP Development Environment - Part Two
DNN Session Timer with AngularJS
This tutorial will guide you through the steps necessary to add a session timeout timer and alert dialog within a DotNetNuke (DNN) Module using AngularJS. Key concepts:
DotNetNuke 7 Web Services Framework Web API Routes
When building the DotNetNuke Web Services API controllers, I want to use this REST convention for the endpoints to access a resource such as the Chinook database. Note: My DotNetNuke website is running under IIS 7.5 with “dnn7” as the host name binding. Only the request method, url, protocol, content-type and content-body are included in request examples below.
Chinook Web API Project
For this project, you will need to have access to the Chinook SQL Server Database.
Magento Development Environment
Mint LAMP Development Environment
Acquia Drupal for Windows
I needed to setup a localhost Drupal development environment to upgrade a Drupal 6 theme and do some testing prior to upgrading a live site to Drupal 7. I decided to give the Microsoft Web Platform Installer a try on my Windows 8 computer.
Chinook ASP.NET MVC 4 Web Application
Chinook SQL Server Database
DotNetNuke Modal PopUps
Task 1, create a jQuery UI dialog to confirm a postback action invoked by a ASP.NET button control. In your module’s ascx file, add a button control and a div to contain you dialog.
Random full page background
This Tutorial is written with Drupal 7 in mind. However, it can be applied to any website.
Improved Font Rendering in Fedora 15 / Gnome 3
jQuery - MSSQL Pagination and Data Templates
Here is a tutorial to show you how to paginate JSON data in the client using jQuery, jQuery Templates plugin, ASP.NET and SQL Server.