Recent Posts

Recent Posts


I have started using Centos before couple of month back. I received a project in MVC framework. I have to deployed to server  When I run the website browser shown some warnings and fata error.


so can load Open Stream File, FileHandle ...
Other issues were permission issues, It is required that app/tmp/cache directory and sub directory of it has writable permission for web root user.

I have given the permission 777 by command “sudo chmod -R app/tmp” but still error messages was there even though when I see the permission on cache and its sub directory then it shows permission writeable.

I have to learn more with Centos 7 how to set Selinux in permissive mode bellow:
    vi /etc/selinux/config
    Change SELINUX=enforcing to SELINUX=permissive
    Reboot the system : shutdown -r --reboot

How to write log in log4php framework on Centos7

By Sinh Pham → Thursday, 14 May 2015
Before I can start talking about PHP RESTful micro frameworks, let me first say that I am first and foremost Java developer. At the same time, my personal and official job also requires of me to work with PHP, from time to time.
 
It was never my intention to write an article about this topic. A purpose of this blog is to help mobile developers working with JavaScript; PHP was never part of it. But as things go I made a decision to write a rather complex set of jQuery Mobile tutorials that required server side communication. My first thought was to use Java Play Framework. This plan backfired when I found out that a lot of my readers were PHP developers.
 
Everything mentioned before urged me to switch to PHP but at the same time I was required to spend some time searching for the best replacement for the Play Framework. This article is dedicated to this search.
 
I will try to be as much objective as I can. Before I chose these frameworks, I spent a lot of time playing with everything available trying to find a perfect one. This doesn’t mean other frameworks are wrong or inadequate, as you will see, my decision was hard, and it took time.
 
Before I start take a look at a list of my chosen 10, in alphabetical order



  • BulletPHP
  • Fat-Free Framework
  • Limonade
  • Phalcon
  • Recess PHP
  • Silex
  • Slim
  • Tonic
  • Wave Framework
  • Zaphpa
src:gajotres.net
Tags:

RESTful Micro Frameworks for PHP

By Sinh Pham → Sunday, 10 May 2015



 Here is a fresh list of Cakephp Projects from Github. Github is the Nr.1 resource for Cakephp projects in my opinion, second place probably is occupied by Code Google and 3th place by Sourceforge.

If you have Cakephp questions and If you didn't find yet the answer to these questions on cakephp google group or ask.cakephp.org than is a big chance to get it from github or stackoverflow.com.

QuickAppsCMS / QuickApps-CMS
https://github.com/QuickAppsCMS/QuickApps-CMS

Open Source Cakephp Projects and Resources

By Sinh Pham → Monday, 13 October 2014

I have heard and read so many positive reviews on PhpStorm IDE in the past. So I am working on windows and xampp,so on.
If  PEAR is absent, follow the steps below to get it installed.

1 .Download PEAR’s installation PHAR file, copy and paste it to your PHP server installation directory (i.e. where php.exe resides).
2. Open windows command prompt: Start -> type in ‘cmd’ -> press Enter.
3. CD into your php server folder (in XAMPP, the folder is C:\path\to\xampp\php) like this:

cd c:\path\to\php\server\folder
4 .Run the following command to start the PEAR installation.

PHPStorm and PHP_CodeSniffer on XAMPP

By Sinh Pham → Monday, 8 September 2014
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtIsf8R69kvGf0rvtXL4txD72dF2wqPBUHII_HU5B3RN8o_6Q37TciXN5FaaszqBE3ASXrV-j8hFL-BEH_3iZ9xDLImIfpRzgKbJsvFaQExU6Ot1r9xWbEChUTNxsl1fewYPYuqOYZuJUw/s1600/09-results.png

Follow this post

Configure PhpStorm to Auto-complete CakePHP Models, Views, and Controllers
After playing around a bit today I finally figured out how to get PhpStorm to auto-complete methods for models and controllers. Here's what you need to do.
Removing Multiple Definitions

PHPStorm autocomplete for CakePHP custom helpers in view files

By Sinh Pham → Sunday, 10 August 2014

Zend Studio is the professional PHP IDE designed to “mobilize” PHP apps and boost developers’ productivity. It helps createand maintain PHP code effectively, solve problems quickly, deploy in the cloud and improve team collaboration.

Zend Studio 10.6 Full

By Sinh Pham → Saturday, 9 August 2014
Web design encompasses many different skills and disciplines in the production and maintenance of websites. The different areas of web design include web graphic design; interface design; authoring, including standardised code and proprietary software; user experience design; and search engine optimization. Often many individuals will work in teams covering different aspects of the design process, although some designers will cover them all.[1] The term web design is normally used to describe the design process relating to the front-end (client side) design of a website including writing mark up. Web design partially overlaps web engineering in the broader scope of web development. Web designers are expected to have an awareness of usability and if their role involves creating mark up then they are also expected to be up to date with web accessibility guidelines.


How to Become a Professional Web Designer and Programmer

By Sinh Pham → Wednesday, 6 August 2014

Many developers would like to build their very own WordPress themes, for personal projects or for profit. If building themes is something you plan on doing often, then having your very own WordPress framework is an essential, as it will serve as a foundation for any future themes you develop. In this course Adi Purdila will show you how to develop a fully functional WordPress framework that can serve as a skeleton for your themes!
http://goo.gl/zDL25q

http://goo.gl/R0cdgC

Tutsplus - Guide to Your First WordPress Framework

By Sinh Pham →

Get started creating interactive maps using the Google Maps API. In this course you'll learn how to create and configure different types of maps, how to attach events to these maps, and how to create and customize markers. You'll tap into some of the more powerful services that Google provides, such as geocoding, and then abstract all of this out into your own custom library. By the end of this course, you'll be able to take the library you create and apply it to your own applications.

http://goo.gl/r1eGmi

http://goo.gl/LhIwzp

Tutsplus- Digital Painting for Concept Art

By Sinh Pham →


Get started creating interactive maps using the Google Maps API. In this course you'll learn how to create and configure different types of maps, how to attach events to these maps, and how to create and customize markers. You'll tap into some of the more powerful services that Google provides, such as geocoding, and then abstract all of this out into your own custom library. By the end of this course, you'll be able to take the library you create and apply it to your own applications.


http://goo.gl/Ktlxl3 http://goo.gl/AWYvoq

Tutsplus - Custom Interactive Maps With the Google Maps API

By Sinh Pham →