InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Using Inflector singularize and camelize for taking out model name in CakePHP

Arvind KumarCakePHP3 Comments on Using Inflector singularize and camelize for taking out model name in CakePHP

We can use CakePHP library’s Inflector::singularize() and Inflector::camelize() methods for taking out corresponding model name from a controller name (provided we follow CakePHP’s naming conventions well).

Security component black hole, form submit dies on a blank page with no error

Arvind KumarCakePHP4 Comments on Security component black hole, form submit dies on a blank page with no error

The problem started when i used Auth component in my current CakePHP project. Everything seemed working fine until i created an html form, submitted it and tried to retrieve this form’s data in controller action. I tried to print $this->data…

Read More→

Adding (Explorer – file browser) plugin to Notepad++

Arvind KumarMiscelleneous, Windows6 Comments on Adding (Explorer – file browser) plugin to Notepad++

Once i decided to give Notepad++ a serious try as my default code editor the first major thing i noticed was the non availability of explorer like file browsing panel (generally to the left side). After a few bits of…

Read More→

Apache/WAMP slow on Windows 7

Arvind KumarWindowsLeave a Comment on Apache/WAMP slow on Windows 7

After i had installed WAMP on Windows 7 the loading of web pages on my localhost server slowed down considerably. After negotiating with it for a few days i decided to find the culprit out and ultimately i reached at…

Read More→

Fix to jQuery plugin does not work on ajax loaded content

Arvind KumarAjax, CakePHP, Javascript, jQueryLeave a Comment on Fix to jQuery plugin does not work on ajax loaded content

I had been loading table records through ajax pagination using jquery. Some of the urls/links (View Details, Edit and Delete) in loaded content had been using thickbox to handle respective requests. Although, if i did’t use the ajax to load…

Read More→

Cakephp pagination and custom named arguments handling

Arvind KumarCakePHP1 Comment on Cakephp pagination and custom named arguments handling

Let’s have a look at the scenario first. I have a “contacts” controller, a “display” action in it(controller) and a view “display.ctp” to show results. As normal my “display” action lists all the contacts by calling $this->set(‘contacts’, $this->paginate(‘Contact’)) inside the…

Read More→

Calculating difference between two mysql dates in seconds

Arvind KumarMySQL1 Comment on Calculating difference between two mysql dates in seconds

Here is a quick way to calculate the difference between two mysql dates in number of seconds. In my case, i required to fetch all entries for which the difference between current time stamp and date in a table field…

Read More→

Creating Ajax form in Cakephp using jQuery

Arvind KumarCakePHP5 Comments on Creating Ajax form in Cakephp using jQuery

Because of its being more flexible, extensible and precise nature the jQuery certainly has emerged as a more popular Javascript library as compared to prototype library. If you plan your Cakephp application depend heavily on Javascript, its right time to…

Read More→

A note on DOM elements’ changed scope when using thickbox with jQuery

Arvind KumarjQueryLeave a Comment on A note on DOM elements’ changed scope when using thickbox with jQuery

A similar situation may arise (atleast for me it did) when you try to invoke jQuery’s “thickbox” in conjunction with a custom onclick firing. I would explain it with the help of an example: I have a div element (with…

Read More→

Javascript common mistake of comparing with NaN and not with isNaN

Arvind KumarJavascript3 Comments on Javascript common mistake of comparing with NaN and not with isNaN

Recently, i fell into the trap of NaN and isNaN and it turned me pulling my hair for quite a few good minutes. Thats why i decided to make a note of it here for a recitation and as a…

Read More→

Posts navigation

Previous 1 … 46 47 48 … 53 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • The Role of $wpdb for Custom Queries in WordPress
  • React Context API vs. Redux: Which One Should You Use?
  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram