…using on the interface composing the Customizer back-end, Panels, Settings, and Controls. Again, if these three things are something new to you, I highly recommend that you follow our previous complete series: A Guide to the WordPress Theme Customizer.Basic Interaction With the Customizer JavaScript APIAside from the PHP API, with…
…using Ajax. Specifically, I'm going to highlight the use of Ajax in two areas of the Meeting Planner application, which I'm writing the Building Your Startup series about in parallel.First, we'll review how we load a Google Map on the page in response to the user entering a specific place.…
…using for writing a plugin. A working knowledge of the WordPress Plugin API. Assuming you have all of that installed, set up, and ready to go along with the latest version of the plugin, then we're ready to resume our discussion on namespaces, autoloading, and WordPress plugins.On Namespaces and AutoloadingFor…
…using my Meeting Planner app as a real-life example. Every step along the way, I'll release the Meeting Planner code as open-source examples you can learn from. I'll also address startup-related business issues as they arise.IntroductionIn today's tutorial, I'll guide you through the initial set of comprehensive changes to the…
…using Codeception, which is integrated with the Yii2 development framework.Admittedly, my experience writing tests with my code is scarce. I've often been part of solo or small projects with limited resources. During my time at Microsoft, we had distinct test teams that did this. But frankly, this is likely typical…
…using for writing a plugin. A working knowledge of the WordPress Plugin API. After you have all of that in place (and I know it seems like a lot, but it really doesn't take long to set up), you'll need to install a copy of the plugin linked above.Once done,…
…using react-router.Getting StartedLet's start by initiating our project using Node Package Manager (npm).mkdir reactRoutingApp cd reactRoutingApp npm initInstall the required react and react-dom libraries in the project.npm install react react-dom --saveWe'll be using webpack module bundler for this project. Install webpack and webpack development server.npm install webpack webpack-dev-server --save-devWe'll make…
…Using is_customize_preview(), this button will only be shown in the Customizer Preview window. Each of these buttons is assigned with a class name, .customizer-edit, which will enable us to select these buttons and bind them with a click Event later on.Furthermore, we've also added these buttons with a data-control attribute…
…Using your text editor, navigate to app/controllers/application_controller.rb and make yours look like what I have below:#app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_action :configure_permitted_parameters, if: :devise_controller? protected def configure_permitted_parameters added_attrs =…
…using object-oriented techniques. Provide the high-level outline for our implementation. Ultimately, we won't be writing much code in this tutorial, but we'll be writing some. It is, however, a practical tutorial in that we're performing object-oriented analysis and design. This is a necessary phase for many large-scale projects (and something…