logo

preview image before uploading

Here in this article I will show you How to preview image before uploading with Jquery few line of code. It is best practice to preview image to user he has selected, it will avoid user mistakes of selecting different image and visually it looks good. Basically we will have to write our code on Change event of file input. […]

Read more
change domain with seo

Change domain name without loosing SEO rankings at Google, I changed codingsips.alampk.com to www.codingsips.com, Here in this article I will explain how can we change domain name and update google about our domain name change so that we do not loose our indexes at google it is easy and need less and easy requirements. How to change domain name without […]

Read more

Sometime small things takes days of developers like using fontawsome took me about a full day while using it in rtl direction. Here is an easy fix for fontawsome on rtl layout or rtl direction like arabic, urdu, farsi, pashto etc. normally we use fontawsome on default direction which is ltr which works fine and looks very good but when […]

Read more

Create you own custom captcha easily in PHP, before coding I want to explain what is Captcha and how it works? Captcha is used to distinguish human from given input, and it is ensured that form is submitted by human. Generally computers or bot are not capable of solving a Captcha. Bots are kind of software which has database of […]

Read more
pdo

In this article I will be explaining php basic PDO mysql connection and queries example PDO stands for PHP Data Objects, it provides Multipledatabase access. by multiple database access it means that if we change our database from MySql to MS Access or Sqlite, we just need to make small change in database connection line, all other coding will work […]

Read more
ajax

Ajax stands for Asynchronous JavaScript and XML, means using JavaScript or Jquery we can send request to server without page reload. we can perform ajax request using JavaScript as well as Jquery, As JQuery requires less code so I always prefer Jquery over JavaScript. in this tutorial I will do it with JQuery. lets take an example, we have 2 […]

Read more
flash messages via session

Handle user flash messages via session variables which is more professional and easy to manage, How we can display these messages in traditional way, developers know how they display messages and update users about status of user operation(s) like record save successfully record updated successfully Failed to create account, please try after a while Most of new developers manage these […]

Read more
fullstack developer

Most of my friends ask me what is Fullstack Deveper? or Define Fullstack developer or what are the responsibilities of fullstack developer. I Googled and got too many definitions and thinkings. Even if we think about people in our social life, there are two type of people More social Always have work with anyone’s tasks Less social Just do their […]

Read more
cake created_by

As CakePHP has created and modified datetime fields which automatically saved during insert and update operation, after few months development I felt there should also be automatic created_by and modified_by field handling so that we can reduce filling in each time current logged in user’s id in created_by and modified_by field manually. First of all I looked if CakePHP already […]

Read more
cakephp

CakePHP naming conventions can be found on CakePHP official website in detail, but here I will try to trim it to make it more easy to understand. What are naming conventions These are optional rules to name your database tables, Fields in a table, Files, Classes and Functions or Methods in classes, folder structure proposed etc. What are Benefits of […]

Read more