• Home
  • Technology
    • Ebullientech
    • Entrepreneurship
    • Video Technology
    • Cloud Computing
    • Business Analysis
  • Healthcare
    • Pharmacology
  • Thoughts
    • Food
    • General
    • Stories
    • Places
    • Workplace
    • Social Issues
    • Reviews
  • Quotes
  • Ebullientech News and Events
  • About

Kamalika's Notebook

thinking nothing...............!!

Install the PHP DOM Extension on CentOS

February 23, 2015 By Kamalika Leave a Comment

I was trying to import the sample data provided with a ThemeForest theme to my client’s WordPress website and failing. Initially I thought it’s a file permission issue but even after changing file permission to 0755 and eventually to 0777 didn’t improve the situation. Suddenly I realized file permission issue is sorted and the current issue is server not having PHP DOM installed!

What is DOM?

As per Wikipedia… “The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents.”

And as per w3.org… “The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The document can be further processed and the results of that processing can be incorporated back into the presented page.” [Read more…]

Filed Under: CentOS, LAMP, PHP, Technology Tagged With: Document Object Model, DOM, How to add PHP DOMDocument extension, How to Check PHP DOM is Installed, PHP DOM Extension, PHP-XML, What is PHP DOM extension

PHP and MVC Design Pattern

February 11, 2015 By Kamalika Leave a Comment

The root cause of writing Software is simple Software solves problems. We analyze the requirements and break them into smaller problems (modules) and then write the solution for each such problem. Every line of code (LOC) we write is meant to resolve some problem. A pattern or design pattern defines how we solve problems, we must remember that a pattern is never the solution itself it is a way solution is written or developed or rather architected.

Around the world developers and solution architects are always excited about using MVC in fact the developer community often frowns upon those who don’t use it! I remember one of friends who once asked me… “OMG! You are not using any MVC of framework? Just writing native code?”… I tried hard to reason… “We may not be using MVC but we are using patterns and its pure OOP, I don’t think such application really requires MVC!”… “No… No… I think you must!”… I resigned!

What exactly MVC has to offer:

  • Reduced Code complexity
  • Code reusability
  • Increased flexibility
  • Decoupled code

Have we ever thought? MVC cannot solve the Code complexity or reusability or even flexibility problem, it’s the developers who can solve these problems. Writing decoupled code is also a developer’s thing; a pattern like MVC will create and environment with certain restrictions and rules but the code has to be written by a developer, the logic behind the code has to be thought out by a human! [Read more…]

Pages: 1 2 3

Filed Under: Ebullientech, PHP Tagged With: CodeIngiter, Ebullientech, Ebullientech Interactive LLP, Laravel, Model View Controller, PHP, PHP Frameworks, PHP MVC, Symphony, Zend Framework

PHP vs. Java which is a better Object Oriented Language?

February 9, 2015 By Kamalika Leave a Comment

I left Microsoft Technologies and shifted to Open Source around July 2006, that’s when I was first introduced to the LAMPP Stack (Linux Apache MySQL Perl PHP), though I started my journey with Perl but gradually moved towards PHP. Open Source Technologies and PHP have been my bread and butter since then, but I could never admire PHP like I admired C, C++ and Java, always felt limited even when I was applying OOP concepts with PHP but yes in spite of this I loved PHP arrays and the wide range of array functions. My first PHP OOP project happened in December 2007 where I got introduced to Zend Framework as well, since then I’m still in love with ZF but ironically still not fond of PHP, especially PHP OOP! PHP’s weaknesses as an OOP over Java repeatedly kept disturbing me, and this became my favorite interview question for any candidate who claimed to have PHP and Java OOP concepts. I would say about 25-30% of the people could hit chord somehow but rest failed miserably.

In the first section of this article I’ll discuss about the salient features of Object Oriented Programming, next section I’ll address the broad differences between PHP & Java, and in the final section I’ll try to lay down the key weaknesses of PHP OOP over Java.

Object Oriented Programming

Conventional or traditional programing using a high level programming language like C is termed as Procedure Oriented Programming where things happen sequentially, i.e., reading (input), computing, printing (output) take place in sequences. Functions or procedures are written to accomplish all kinds of computations, some functions are system defined and some are user defined.

Object oriented programming emphasizes more on data and data structures rather than functions or procedures; they are tied with the data on which they operate. Data is defined as objects and objects are supported by member functions which are part of the data structure. Object oriented programming takes a bottom-up approach in contrast with the top-down approach of procedure-oriented programming where small modules consisting of data and member functions unite to implement a large application. [Read more…]

Pages: 1 2 3

Filed Under: PHP Tagged With: Java OOP, Java versus PHP, Object Oriented Programming, PHP OOP

How to connect to MySQL database using PHP

August 21, 2014 By Kamalika Leave a Comment

In this article we’ll try to achieve three things:

1) Connect to MySQL using PHP

2) Create a database and table in MySQL

3) Connect to MySQL using PHP and fetch / retrieve data from the database

Scope of this article is to guide beginners who have just started PHP programming and have never tried to connect to any database using PHP, although PHP have the capability to connect to MySQL, MySQLi, PostGRESQL, Oracle and other number of databases today we’ll only discuss about PHP and MySQL connectivity and the development environment considered is XAMPP on Windows. [Read more…]

Pages: 1 2 3

Filed Under: MySQL, PHP, Technology Tagged With: Connecting to MySQL using PHP, How to use PHP to connect to and retrieve data from MySQL, PHP & MySQL, sample php code to connect to mysql database

Write your first PHP program…

August 19, 2014 By Kamalika 1 Comment

Audience…

Audience of this article is any aspiring professional who is considering PHP programming as a career option.

Scope…

Scope of this article is limited to writing your first PHP program in XAMPP on Windows. I’m going to guide you to install and configure XAMPP on Windows and then write your first PHP script.

Topics…

–       Download, install and configure XAMPP on Windows

–       Write and run a PHP program / script

[Read more…]

Pages: 1 2 3

Filed Under: PHP, Technology Tagged With: Install XAMPP on Windows, Learn PHP, PHP, PHP Coding, Write PHP Code, Write PHP Program, XAMPP

  • 1
  • 2
  • Next Page »

Let’s connect…

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Hello There…

I'm Kamalika, a techpreneur & startup mentor, blogger, hobbyist photographer, Netflix & Kindle indulgent, food connoisseur, Starbucks aficionado and former Disney employee ...next

Looking for something?

Tags

All in One SEO Pack AWS Banaras Blogger Blogging Blogs Dasaswamedh Ghat Ebullientech Ebullientech Interactive LLP Facebook Facebook Developers father's day father's day wishes father's day wishes for dad fathers day love Fathers Day Special Fathers Day wishes from daughter Father’s day memories GeoTech GeoTech Informatics HipHop for PHP Kamalika Guha Roy Kashi Ganga LAMP MySQL Nabaneeta Guha Roy Online Marketing PayPal PayPal's suspension of Indian bank transactions PHP PHP & MySQL Saraswati Puja Search Engine Optimization SEO Startup The Ganges TypePad UCO HUT Varanasi Web 2.0 Web 2.0 Design Web Design Web Marketing WordPress WordPress.COM

Timeline

  • 2024 (1)
  • 2021 (3)
  • 2020 (7)
  • 2019 (4)
  • 2018 (1)
  • 2015 (6)
  • 2014 (13)
  • 2013 (9)
  • 2010 (7)
  • 2009 (2)

Topics

Copyright © 2021 · Kamalika Guha Roy, Powered by: Ebullientech