Let’s know the Framework for the purposes of making a web application project

 

Lets know the Framework for the purposes of making a web application project 300x177 Lets know the Framework for the purposes of making a web application project

Let's know the Framework for the purposes of making a web application project

Lots of framework that we can find in PHP. There, Zend, CakePHP, Kohana, Symfoni, Yii, CodeIgniter and many others.

How about you? if you have or frequently use the framework in working on a project? I myself as still learning the framework so it has not dared to take the project with the framework. Then what the hell framework? Certainly for those of you who just went into web developers are still wondering about what framework?

So the beginnings of a framework arise when one wants to do a project, for example when I first got the programmer A project to work on a School Attendance Application System. Because he was coding from scratch and also design looks so he did his time within 1 month and then get the rewards they deserve. The next was he got a project that is almost the same, other than a school. because he had been working on the same project, so he took the source code of the first and only project in the edited part of it, and consequently his job was only take 2 weeks to complete.

Already understand what that framework? Yes, with the framework we do not need to code from scratch again, so we just use the source code that already exists, and we can use it with our heart’s content. Framework can simplify our work, can save time, and with maximum results as well. Compared to coding from scratch, using the Framework is the wise choice of a web developer to work on a project.

Yes, for this first post up here I only discuss, because I myself am still learning. I recently tried the CI and the Yii framework just because it was too early so if I make a tutorial with the Framework. Only I hope this tutorial is useful for those of you who still lay with the Framework.

share save 171 16 Lets know the Framework for the purposes of making a web application project
Posted in Programming | Tagged CakePHP, Codeigniter, Framework, Kohana, Let's know, purposes of, Symfoni, web application project, Yii, Zend | Leave a comment

Solution for error date Function in PHP

 

Solution for error date Function in PHP 300x93 Solution for error date Function in PHP

Solution for error date Function in PHP

As we all know, that to take a date using the date function. But this can not apply for the latest PHP version. Perhaps because different between the server time and also at the client, making this function is not stable.

Therefore I want to give some tips to outsmart this error in the PHP date function date. According to the manual on the official website. For this trick, I use date_default_timezone_set function. So the function is to mentukan default time. The structure of his Syntax

bool date_default_timezone_set (string $ timezone_identifier);

That is the basic structure of the retrieval time of default. While the example to call:

<? php

date_default_timezone_set (‘America / Los_Angeles’);

$ script_tz = date_default_timezone_get ();

if (strcmp ($ script_tz, ini_get (‘date.timezone’))){

echo ‘Script differs from this timezone set timezone.’;

} Else {

echo ‘This script timezone and timezone-set match.’;

}

for more details can be instantly viewed in the manual just php

share save 171 16 Solution for error date Function in PHP
Posted in Programming | Tagged date Function, error, PHP, Solution | Leave a comment