…using local tunnels. Yeah, we like it too. Sounds really neat, right? But it's from the Laravel team and it's talking about things such as Vagrant. So why does this affect WordPress developers?If you check out the documentation for Valet, you'll notice something curious. Specifically, it supports: Laravel Lumen Symfony…
…using singular and plural versions for the includes. They depend on your model associations. A has_many association uses plural, while a belongs_to or a has_one needs the singular version, of course. If you need, you can also tuck on a where clause for specifying additional conditions, but the preferred way…
…using Flask as the web framework. The previous approach provided a lot of flexibility but involved writing a lot of code that otherwise could have been avoided in more generic cases. In this part, we will use a Flask extension, Flask-Restless, which simply generates RESTful APIs for database models defined…
…using virtualenv to be followed while developing a Python application.Installing PackagesFlask comes packaged with Jinja2, and hence we just need to install Flask. For this series, I recommend using the development version of Flask, which includes much more stable command line support among many other features and improvements to Flask…
…using PHP for our examples.In the second part of this series, we're going to take a look at how we can avoid writing code smells. Specifically, we'll be using PHP, a couple of tools, and WordPress as the environment of choice.But first, let's have an introduction to code smells.What Are…
…using an OpenCart custom module.So, that’s it folks for this tutorial, and it ends the series as well. Hopefully, I’ll be back soon with some new and refreshing stuff in OpenCart. Till then, allow me to go for some coffee and read some of the great tutorials on Envato Tuts+…
…using my Meeting Planner app as a real-life example. Every step along the way, we'll release the Meeting Planner code as open-source examples you can learn from. In today's episode, Mailgun stepped in to sponsor a tutorial about how I integrated its message routing and Store() API to handle replies…
…using Flask as the web framework. In the second part, we created a RESTful API using Flask-Restless, which depends on SQLAlchemy as the ORM. In this part, we will use another Flask extension, Flask-Restful, which abstracts your ORM and does not make any assumptions about it. I will take the…
…using a custom post type. Specifically we'll: create a child theme for the Responsive theme register a custom post type create posts using our custom post type install and set up a plugin to output the text slider add our slider to the site header using an action hook In…
…using something called Pear.Pear was once the de-facto package distribution system for PHP libraries, and though many packages are still available through the software, it's also being retired from other popular packages (such as PHPUnit).For this reason, I often recommend using other methods of installation when they are available. This…