আগামী ৩০ অক্টোবর -২০১৭ তারিখ থেকে শুরু হচ্ছে পাঁচ মাস ব্যাপী Professional Web Design and Development with HTML,CSS,Bootstrap,PHP,MySQl, AJAX and JQUERY কোর্সের ৮৬ তম ব্যাচ। আগ্রহীদেরকে অতিসত্বর মাসুদ আলম স্যার এর সাথে যোগাযোগ করতে অনুরোধ করা যাচ্ছে। স্যার এর মোবাইল: 01722817591, Email : [email protected] কোর্সের সিলেবাস এর জন্য এখানে ক্লিক করুন ।

Hello World Tutorial within a minute in Fat-Free Framework

fatfree

Fat-Free :: A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications – fast!

Fat-Free also fondly called as F3.

Goal of this post is to create a simple “Hello World” web application within a minute step by step. Here i am guessing that we have a running Web server with PHP 5.3 or a later release.

Step 1 ) First of all download Fat-Free from https://github.com/bcosca/fatfree.

Step 2 ) Move all directories and file of Fat-Free Framework in your app directory, my app directory name is “helloworld”.

fat free hello world turorial

After move Fat Free to our new directory “helloworld”, it will contain directories and files like above screen.

Step 3 ) Open index.php file with any your text editor. and replace all lines with below few lines.

<?php
$f3 = require('lib/base.php'); $f3->route('GET /',
	function() {
		echo 'Hello, World!';
	}
);

$f3->run();

Save this change.

Step 4) Now browse it by http://localhost/helloworld/, this will output like below.

fat free hello world turorial

How fast, is not it!

Hello World Tutorial within a minute in Fat-Free Framework

I am a student of Web Application Development courses at Google University.

Leave a Reply

Your email address will not be published. Required fields are marked *