How to build a wordpress theme in 5 steps

This tutorial is more like a personal reference of my own to quickly get myself on tracks while building a new WordPress theme. So if you need more details on building up your own theme, then you will have to follow the guildelines on WordPress.org. There is also a nice infographic highlighting the anatomy of […]

Adding array elements into a form using Zend 3

Form collection Zend 3 tutorial

You already know how to add elements to a form and attach filters and validators to them, but often you will need to add new elements dynamically or add several elements with the same name. In HTML it will end up with a name followed by square brackets [] : As an example check out […]

Ajax, Json and autocomplete form input example with Jquery

Autocomplete event - jquery ui example

We have a demo page for this so no worries about it – Today we implement several features to deal with a form input : Autocomplete of the input Ajax call to an external url using JQuery Parsing JSON data from the external url We will follow the tutorial on appending form inputs with Jquery […]

Appending form inputs within a form using Jquery

Append form inputs jquery

Learning by examples is the way we do and as we often ask us about JQuery tutorials, today we are adding a new one which will be followed with further integration such as Ajax calls and API programming. Example of appending form inputs inside a form JQuery offers such a powerful tools’ set, it would […]

One to one relationship using Zend 3 and Doctrine 2

One 2 One relationship

Using Doctrine 2 annotations in a Zend project requires us to design our database model at first then we are integrating ou entities which themselves are instantiated within services. Today we are going to implement a simple example of using a One to one relationship using Doctrine and Zend 3. Example of a One2one relationship […]

On demand doctrine database switch with Zend 3

Configuration sequence - Zend 3

When working on different database with Zend, you may load defined parameters from your local configuration files depending on the action you need to trigger. In the case you need to load a database which is defined by a specific environment for instance from a session data, you need to update your configuration inside your […]

Zend script to create tables on demand

create table on fly with zend 3

When you are working on a large project like a CMS system, you provide different kind of modules and you allow the end user to enable or disable certain modules depending on his needs. There are different way of achieving this : You create the whole database with all tables in it, giving the possibility […]

Creating a Database using Zend 3 and Doctrine2

Database creation - Doctrine & ZF3

Let’s say we need to create a database on the fly and use it within our Zend 3 project. Typically you will create the database then store the credentials within your global or local php config file in your autoload directory. But this time we do need to create a second database which name depends […]

Adding Session Data to your authentication system using ZF 3

Session Management in Zend 3

If you have been following the tutorial on ZF3 authentication, you already have the user email stored in session as this is the default behavior of the Zend/Authentication module provided by Zend platform. The Zend authentication module & session management We will overview a little how is handled the session system within the authentication module […]

RuntimeException: Module could not be initialized in ModuleManager

Composer json edition

When adding a new module manually in Zend 3 platform, you basically add files within a defined folder structure of your own (you can just copy a skeleton application and rename the directory). See the tutorial on Zend 3 project for more details. Once you have added the files you will generally meet a few […]

Class is not a valid entity or mapped super class – ZF3

Doctrine Exception

As a way to help others and myself, I will continue to post Zend3 typical errors and their fix regularly. To reproduce the following error : “Class is not a valid entity or mapped super class” using ZF3 and Doctrine 2″ I’ve used the Yaml driver as described in this page, then switched back to […]

Populate Database using Doctrine and Zend 3

Zend 3 DataFixtures Doctrine

Some applications need to integrate data and using Zend and Doctrine all together requires us to do it properly. Of course you could simply insert your entries inside the database using the Mysql command line which is pretty straight forward but how about the case you need to automate the process with a different database, […]

Learn Yaml with Doctrine in a Zend 3 project

Yaml

It’s been some time I planed on talking about Yaml and more precisely about its use for Mysql configuration tables and Entity generation. So today we will overview Yaml for Mysql automatic table integration using Doctrine and Zend 3. If you have never heard about Yaml, well you are better late than never ! What […]

Debugging a Php project with NetBeans

NetBeans Xdebug tool

Getting stuck while coding and testing right away happens to any programmers, sometimes looking at the logs is not enough to fix things quickly, that’s when using a debugger becomes really helpful. We are going to integrate XDebug inside our NetBeans configuration so we can debug Php 7 projects. Following is the configuration I will […]

NetBeans IDE and Zend 3

For those who have never heard about NetBeans, no worries, you’ve just missed a powerful tool to work with, depending on the language(s) you employ the most, choosing between IDEs (Integrated Development Environment) might not be easy and once you get used to one in particular then why switching ? There are so many comparison […]

Sign up function on Zend 3

Today we are going to implement a sign up form within our authentication module we’ve set up before. Note that we don’t want to be in competition with Zf Commons with their registration and login module, this article is more like a tutorial to train you on using Zend and handling a form. In later […]

Build an Authentication module with Zend 3

In this article, we will build a simple authentication module with a login form and a small administrative interface. Basically we will work on the userdemo module detailed on GitHub at this url : User Demo Starting from this code we will add a few tweaks to go further with Zend integration, so if you […]

Install Zend 3.0 on your Debian server

Let’s get started with the installation of Zend 3.0 along with Php 7 on a debian server (the same steps will be valid for Ubuntu). When you follow the following page : https://framework.zend.com/downloads it will likely¬†need a few more easy steps to achieve as root user, here is what I did to get it fine […]

WordPress – Automatically adding submenu items

Generally submenus are being added under menu items and are not separated from the navigation menu or a customized menu. But if you need to display submenu items at a different spot, that is a different approach and we need to get ourselves into coding. We’ve already dealt with the main function handling menus : […]

Customize WordPress Search form

We already reviewed a nice technique to manipulate the menus in WordPress, let’s overview how to deal with the search form provided by WordPress. By default here is the form rendered in html : <form id=”searchform” class=”searchform” action=”/” method=”get”> <div><label class=”screen-reader-text” for=”s”>Search for :</label> <input id=”s” name=”s” type=”text” value=”” /> <input id=”searchsubmit” type=”submit” value=”Search” /></div> […]

Want more information?

Related links will be displayed here in this section for you to pick up another good spot to get more details about Web marketing and Search Engine Optimization. There will be some sites which we selected to ease the work of any webmaster or/and web marketer on the Internet.