Starting Scrum from Top to bottom (Bangladesh and Subcontinent)

Currently Scrum is the most popular Agile framework  and many teams are willingly or forcefully adopting it. Since Scrum does not work like a magic tonic and cure all problems, sometimes it can create problems by making everything transparent. Another challenge for adopting scrum is the readiness of the team members or management.

In Bangladesh or any other country in the subcontinent, adopting scrum is a big challenge as we struggle with self managed team concept. we love to follow people rather than taking the lead. we are not aware of our potentials and capabilities. As a result we lack in self esteem and motivations.

 

If you are planning to adopt scrum at your organization, the following suggestions might be very helpful.

Step 1:

  • Management (CEO, CTO, Directors, Investors etc) must have clear idea about scrum
  • Learn from Agile/Scrum professionals rather than own intuition

Step 2:

  • Start with a small team as pilot project
  • Train the team about scrum paradigm

Step 3:

  • Give team time to understand scrum and try to motivate them to be self managed. As a nation, we are not used to with self management properly.
  • Do not force them to start immediately

Step 4:

  • Run a test or small project for first time
  • Get help from experts during the first few iterations

Step 5:

  • Measure teams output with expected results
  • Try to find out where team is struggling and fix those

Step 6:

  • Keep patience during the whole transformation
  • It can take few weeks to few months for a team to adopt

Step 7:

  • Once the team outputs the expected result, try to repeat it for other teams
  • It can work as a base for others

Step 8:

  • Always plan, execute and adopt. Do not assume that team understood scrum properly and no need to invest time on study
  • Empower team members, give them opportunity to understand themselves

Step 9:

  • Keep a budget for whole transformation
  • You might not get an immediate result during the whole transformation process

 

Note: these steps might not match with your company structures and flow, so please inspect and adapt🙂

 

Add Bangla Font (ex: solaimanlipi) or other ttf font to mpdf

MPDF is a great tool to work with UTF-8 complex texts such as Bangla and indic scripts. You can add your own fonts to MPDF and use it with CSS properties as well.

1. just add this line in your config_fonts.php file inside the mpdf folder (user 6.0 or latest) “solaimanlipi” => array( ‘R’ => “SolaimanLipi.ttf”, ‘useOTL’ => 0xFF, ),

2. copy the solaimanlipi.ttf inside the ttfonts folder.

3. change your css styles for the PDF scripts.

body, p, div { font-size: 14pt; font-family: solaimanlipi;}

h3 { font-size: 15pt; margin-bottom:0; font-family: solaimanlipi; }

4. now run it, you will have the solaimanlipi integrated in mpdf.

 

you can do it with other unicode font as well

PHP : UTF-8 to Hex String and Hex/Decimal Array

Today I spent a lot time to find a suitable library to convert UTF-8 text (specially Bangla) to hexadecimal values. After spending few hours with other online libraries, I have decided to write my own🙂 these are pretty handy functions if you are using MPDF to create PDF with UTF-8 strings , specially in Bangla.

 

function utf8StringToHexString($string) {
$nums = array();
$convmap = array(0x0, 0xffff, 0, 0xffff);
$strlen = mb_strlen($string, “UTF-8”);
for ($i = 0; $i < $strlen; $i++) {
$ch = mb_substr($string, $i, 1, “UTF-8”);
$decimal = substr(mb_encode_numericentity($ch, $convmap, ‘UTF-8’), -5, 4);
$nums[] = “&#x” .base_convert($decimal, 10, 16). “;”;
}
return implode(“”, $nums);
}

function utf8StringToHexArray($string) {
$nums = array();
$convmap = array(0x0, 0xffff, 0, 0xffff);
$strlen = mb_strlen($string, “UTF-8”);
for ($i = 0; $i < $strlen; $i++) {
$ch = mb_substr($string, $i, 1, “UTF-8”);
$decimal = substr(mb_encode_numericentity($ch, $convmap, ‘UTF-8’), -5, 4);
$nums[] = “&#x” .base_convert($decimal, 10, 16). “;”;
}
return $nums;
}

function utf8StringToDecimalArray($string) {
$nums = array();
$convmap = array(0x0, 0xffff, 0, 0xffff);
$strlen = mb_strlen($string, “UTF-8”);
for ($i = 0; $i < $strlen; $i++) {
$ch = mb_substr($string, $i, 1, “UTF-8”);
$nums[] = mb_encode_numericentity($ch, $convmap, ‘UTF-8’);
}
return $nums;
}

Ask PHP/MySQL/Javascript/Web questions!!!

Are you looking for PHP,MySQL,Javascript,Web related answers?

Have you faced difficult questions in your interview?

Are you planning for certification exams and you have questions unanswered?

do you want to correct your reasoning?

Then add questions to this post and you can add as many questions as you want. Every week I will answer or compile the answer for the questions. So lets make the question bank a bigger one.

Atlast our dream project has started!!!

Yes our dream project, “Bangla PHP book” has started last week. Me, Hasin, Emran, Shureed and all those enthusiast developer from PHPXperts group really making it happen. Thanks to Hasin for his initiative and we are very optimistic to bring out a quality book very soon. If anyone is interested, you can join our project. more information on this project can be found here.

http://groups.google.com/group/phpbook/

My hats off to all the contributors and well wishers of this project. Keep up the good works.