<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">

Blogs

Just-in-Time Cloud Resources


To date, there exists many methods to schedule the start and stop of cloud resources for an application. If it can be known when an application is used and when not, for example, if at night the machines are not in use then scheduling can be used to accordingly deprovision the resources.
Topics: Cloud AWS cloud PHP SQL Server

Magento 2 Static Code Analysis

Quality of code plays an important role in application’s security, stability, and maintainability. There are different tools available to test the code quality and ensure that it is set to a high standard. Static analysis is one of the methods to check code quality without running the actual application and before it goes into production. Static code analysis helps us educate developers to produce high-quality code.

Benefits of static code analysis tools:

  • Identify issues during the development phase
  • Find weaknesses in the code
  • Detect code that needs to be refactored
  • Check code syntax
  • Achieve quality goals
  • Identifying vulnerabilities
  • Suggest how to improve performance

I used below tools to analyze the code written with Magento 2 and used ‘Phing’ build tool to automate this process.

Phing

Phing is a PHP project build system or build tool based on Apache Ant. It uses simple XML to define targets to execute.
Ref Link: https://www.phing.info/

Topics: Magento Static code PHP

How to test PHP code quality using SonarQube?

Introduction:

We all know that the success of the project strictly depends on the quality of code. With the growth of the project and development qualification, every programmer comes to the necessity of finding a tool. A tool that helps to improve code quality and to make it stable.

There are many tools available in the market to check code quality and generate code quality reports. If you are planning to build a quality application then you must think about the code quality at the time of development.

I have tried my best to write some simple steps below for checking PHP code quality using SonarQube tool. Following steps are performed on Ubuntu 16.04 Server with root user permission:

Step 1: Create MySQL database user for SonarQube to store reports data into database

Login to MySQL root user:

mysql -u root -p

Execute following commands to create database, database user and grant permissions to database:

CREATE DATABASE <<dbname>> CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER '<<user>>' IDENTIFIED BY '<<pwd>>';
GRANT ALL ON <<dbname>>.* TO '<<user>>'@'%' IDENTIFIED BY '<<pwd>>';
FLUSH PRIVILEGES;

Step 2: Download & setup SonarQube

https://www.sonarqube.org/downloads/
unzip sonarqube-6.5.zip
mv sonarqube-6.5 /opt/sonar

Topics: SonarQube PHP

Integration of Jasper Report – PHP CodeIgniter Web Framework

If you are dealing with billing or management projects where reporting is required with simple pdf formatted files, you need a quick way to interact with jasper reports along with tcpdf helper class file in PHP CodeIgniter Framework. Here’s how you can integrate Jasper Report with PHP CodeIgniter Web Framework:

Topics: PHP Jasper report

Performance tuning for Magento Community Edition

Magento is a very popular, robust and enterprise grade open source e-commerce framework built in PHP. On one side these are the positive aspects of this application but on the other side this mammoth is reported to have slow performance. Page load time is high which adversely affects customers and SEO efforts. Below are some useful steps that will improve the performance of Magento Community Edition.

Topics: Magento Community Edition PHP Performance Tuning Open Source e-commerce Page load time Technology

Tech Digest – Week 45, 2012

Microsoft explores ‘Job-Centric’ provisioning of Cloud Services

Topics: Cross-Platform Mobile Apps iOS business intelligence PHP Dark Data Big data Mobile Development Cloud Service Providers cloud services Android jQuery cloud computing Technology Enterprise Collaboration

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.