Archive for the PHP Category

Send facebook notification after invitation request

Posted by mahmud ahsan on September 26, 2009 in Facebook, PHP | 28 Comments

fb_logo Sometimes people ask me how to send notification in facebook app after invitation request processed.

This is a very easy solutions. You just need to carefully look the api request and return value. Then you can easily integrate the solution

Here I’m describing what is invitation, what is request and how to send notification after invitation/request successfully processed. Continue

Develop customize facebook application for fan page

Posted by mahmud ahsan on September 10, 2009 in Facebook, PHP | 60 Comments

facebook_platformFor many companies or individual, facebook fan page is an integral part of their social media campaign. They want to build up a large follower in their fan page.
Why?

Because, a company want to inform large number of people about their products. An individual want to make large network. As facebook fan page is a part of facebook, so building a large network is quite easy, but for this you have to make your fan page more dynamic, engaging.

In this article I’ll show you how to develop customize facebook application for fan page, that will be more dynamic and interesting for your fans! Continue

iframe based photo/file uploader

Posted by mahmud ahsan on July 21, 2009 in Facebook, Javascript, PHP | 12 Comments

iframesuppose your client tell you to create a form where he needs file/photo uploader that will work instantly when you will select file/photo.

recently i’ve faced same type of situation for one of facebook app and here is the solution i developed for my purpose.

part_of_form_1

Continue

build voice enabled applications directly in php

Posted by mahmud ahsan on June 30, 2009 in PHP, Technology | 1 Comment

home_featured5VoicePHP began with the sole aim of replacing text based interaction with voice while keeping everything else the same. It’s not an extension to PHP; infact it’s the same PHP which now outputs voice instead of text and also takes input as voice instead of text. In technical terms, it’s PHP whose standard text based input & output (stdio, stdout in programmer’s term) are replaced by voice equivalent.

check it out

pre-launch checklist before make your site live

Posted by mahmud ahsan on June 12, 2009 in Javascript, PHP | No Comments

checklistsometimes we the developers, up our site live and face some problems. this is very often happen when deadline comes nearer. if we maintain a pre-launch checklist before make our site live then we may not face such problems like:

  1. Error Management: check whether your site has a 404 not found page that includes
    links to functional pages. this may happen when you port an existing site to some major changes. so include some pages links to this page so that user can easily find the working page.
  2. Continue

my presentation about zce in phpxperts seminar 2009

Posted by mahmud ahsan on June 1, 2009 in PHP | No Comments

prepare yourself for zce exam

Posted by mahmud ahsan on May 17, 2009 in PHP | 6 Comments

today i was present in a seminar arranged by phpexperts in association with Computer Club, Brac University. where my presentation topic was prepare yourself for zce exam.
Continue

method chaining in php5

Posted by mahmud ahsan on May 7, 2009 in PHP | 4 Comments

phpপিএইচপি৫ এ মেথড চেইনিং
when we design class we should keep in mind that, how we could make it more user friendly in usage purpose and development purpose. now i’m talking about a feature introduced by php5 called method chaining as part of the oop improvement over php4. this enable us to do pretty cool things like:

$obj->methodX()->methodY()->.............->methodZ();

a small change between php4 and php5 is, in php5 method can return object. but this change help us to think in a new way to handle object and it’s methods.
Continue

alternative way of assigning html in php – php tips

Posted by mahmud ahsan on April 4, 2009 in PHP | 1 Comment

php

পিএইচপি ভ্যারিয়বলে এইচটিএমএল অ্যাসাইন করার বিকল্প রাস্তা
As a facebook application developer, sometimes we need to assign large portion of html,css code in php variable and need to pass that variable in some api. most of the time i found many programmers use this way:

 <?php     $a    =   <<<EOD
<div>         my name is $name         blah blah blah....</div>
EOD;     call_api($a); ?> 

Continue

Eclipse vs NetBeans IDE for php, css, html, javascript

Posted by mahmud ahsan on January 25, 2009 in Framework, PHP | 1 Comment

I’ve used 4 IDEs for php based web application development. In my old laptop, I used notepad++ to write php, html, javascript, css code. notepad++ is a very light weight IDE and takes less resources.

**notepad++ IDE is best if your laptop/pc’s configuaration is old.

Continue

Page 2 of 4«1234»