As it stands, if we visit the plans index page, we can still see the Choose Plan button for the plan we are currently subscribed to, and this shouldn’t be the case. In the plans index view, let’s add an if conditional to hide the button based on the user’s subscription status:
As we well know, HTML was designed as a stateless protocol. Every time you open a new page, any values from the previous page are lost, unless transmitted via GET or POST variables, or using a COOKIE, which is what we're exploring in this article.
In today's episode, I'm going to walk you through the first half of my SMS configuration for the Meeting Planner application. Basically, I'll cover choosing an SMS provider, setting up the account, building the initial application infrastructure, and trial texting.
zend-xmlrpc provides a full-featured XML-RPC client and server implementation. XML-RPC is a Remote Procedure Call protocol using HTTP as the transport and XML for encoding the requests and responses.
In this tutorial, we are going to you a PHP package called Guzzle. Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. It is meant to be a replacement of your existing PHP/cURL usage in your code base. If you want to know why you should make the switch and how you can do so. Read on.
Subscriptions to services online are something extremely common – from subscribing to music streaming services to tutorial sites to access premium content. In this tutorial, we will be building a dummy Courses site with Braintree subscriptions. In the process, we will learn how to use the various methods offered by Cashier.
In this tutorial we are going to see how to integrate Datatables Scroller in CakePHP 3 using jQuery, Ajax, MySQL and Bootstrap 3. This Datatables Scroller will render millions of data within the datatables itself while Scrolling as per browser Viewport.
I will show you a simple example of how to use GDELT through BigQuery with PHP, and how to visualize the results on a web page. Along the way, I will tell you some more about GDELT. GDelt (the “Global Database of Events, Language and Tone”) is the biggest Open Data database of political events in the world.
This beginner tutorial/article shows how you can create a simple/basic user login and registration application using Laravel. In previous Laravel article, I have described in detail about Creating simple CRUD application in Laravel. In the CRUD article, I have described about Laravel folder structure and artisan command line tool. Hence, in this article, we will directly move towards creating database and tables.
In this tutorial we are going to see how to implement CakePHP 3 Ajax Pagination Using Datatable, jQuery, MySQL and Bootstrap 3. This is follow up tutorial of the Integrate Datatable in CakePHP 3 with Static JOSN using jQuery, Bootstrap 3.
In this tutorial we are going to see how to implement CakePHP 3 Ajax Pagination with Search Using Datatables, jQuery, MySQL and Bootstrap 3. This is follow up tutorial of the Integrate DataTables in CakePHP 3 with Ajax Pagination using jQuery, Bootstrap 3. By default DataTables supports global search with single input element on the top right side. When user enters something in the textbox, then we have make search condition with possible table columns.
If you are looking for an accurate way to integrate Authorize.net payment gateway in your custom PHP web application, this tutorial is for you. The process described here uses official PHP SDK by Authorize.net which allows you to capture the payment right from your website, giving you the payment processing response so you don’t actually need the payment notification page and post processing.
In today's episode, we'll build the foundation for our administrative dashboard and take on and create some of the initial live and historical reporting. For example, we'll know how many people have registered at any time, how many meetings have been scheduled, and what percentage of invited participants like the service enough to go on to organize their own meeting. It's actually been pretty fun to build this stuff and see the data, even if we're pre-launch.
In this tutorial we are going to see how to implement Datatables Ajax Custom Search Filter in CakePHP 3 Using jQuery, MySQL and Bootstrap 3. This is follow up tutorial of the CakePHP 3 Ajax Pagination with Search Using Datatables, jQuery, MySQL and Bootstrap 3.
Sometimes it can be neccessary to display a nicely formatted number on a webpage, instead of an ugly and hard to understand number. For example 234,654.49 is way more beautiful and easier to comprehend than 234654.49876. This is where number formating comes in. In this example we shall discuss number formatting in PHP.
'm guiding readers in use of the Yii2 Framework for PHP. In this tutorial, we'll explore the implementation of interactive pages 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.
In this article, I’m going to spotlight some of the key features introduced in OpenCart 2.3. If you’re an OpenCart developer who is familiar with earlier OpenCart versions, OpenCart 2.3 brings a couple of surprises for you. Of course, it’s expected to have something exciting in each new version along with bug fixes, but OpenCart 2.3 brings something that needs your attention for sure.
Exception handling saves your code in the most unusual circumstances. PHP 7 has introduced two new classes that assist a developer in handling errors with ease, and that’s what we’ll look at in this post. Before the introduction of these classes in PHP 7, exception error classes were written to handle the different types of errors.
In this tutorial, you’re going to get started with developing Shopify apps. You’re going to create a simple app that lists out products from a Shopify store. Shopify apps are a way of extending the functionality of a Shopify store or to provide ecommerce capabilities to websites or mobile apps. Here’s a list of approaches to do this:
The snake game we’re replicating has the following features: a snake starts as a single on-screen character, and gets longer by one character every time it eats a piece of food. food is spawned randomly anywhere on the map. in single player mode, the snake is controlled by the arrow keys. in two player mode, one snake is controlled with the WSAD keys, while the other is controlled with the arrow keys. in single player mode, the walls are obstacles and cause a collision. Running into a wall or into yourself ends the game.