Ashvin Savani “arckid” – Flash Platform Expert

All about RIA development using Flash, Flex, Flash Media Server (Flashcom) with various middleware and backends.

Archive for August, 2008

Happy Independence Day – India

I wish Happy Independence Day to all Indians!

As Prime Minister told today, We should united to solve Nation problems. That touched my heart but I hope that all political leaders should obey it and think about Indians and India instead of themselves, their political parties, vote banks and of course big corporate houses while they are making any policies.

Country should also treat terrorists as terrorists instead of treating them as VIP guests. A very good example for it is – the person who attacked on Parliament which is symbol of democracy and India, is still alive! Rulers should take serious and fast actions to give huge impact to terrorism and to get confidence of Army and Police who work hard for nation and even dies for Nation. I even can’t imagine while widow of army persons or commandos who were killed by terrorists attack in parliament and who were killed to save politicians but politicians never tried to save them or their families. Instead of doing that, they are delaying death of the terrorist. If I was in army, I would definitely won’t work for the people who don’t care about army!

Rulers should not help or encourage the poor or non developed communities by giving them more reservation or quotas. By such actions, usually they want to raise their vote banks. Essentially this action don’t help small communities much, but bigger communities – who really work hard to get work or for studies are not getting admissions or job. Instead of qualified person,  unqualified person who don’t have much knowledge or skills, they are at top positions because of quotas. Such persons can’t do anything as they just born part of small communities but not built tough and smart to handle such work.

A very easy example of this would be – A person who got 85% but will not get an admission in Medical Studies, but the another person coming from small community, will get admission with just 60% (even lower) because of reservation and quotas. Anyone can imagine which doctor will serve better! If they really want to help poor people or small communities, they should help by solving their main problems. The main problem for poor people is They don’t think much! and the key solution for that is Education. So they should help them in education and need to make sure that the help they are providing is reachable to needful people instead of intermediate corrupted officers and politicians.

Apart from strong actions towards terrorism, corruption and education – India is really doing good progress! Keep it up!

Jai Hind! – Mera Bharat Mahan

  • 2 Comments
  • Filed under: General, India
  • Perspective is a very powerful term exist while you are thinking about anything. I am currently working little as a programmer and more as project manager. From my journey in IT industry so far, I came across many roles like designer, developer, manager, hardware engineer, IT manager, system administrator etc., I noticed that, Whatever role you working as, You wears that particular hat while you are thinking about given matter. For each role you see a matter from different perspective and your brain respond it accordingly.

    In past, I was working for British Telecom company called Iqara, which is now known as You Tele. At that time, I was serving as Flash Experience Engineer. My duty at that time was to create presentation for CEO about their operations in India. He need to show the presentation to British Telecom board about what progress they are doing in India from the money they invested in the new broadband company. I had to include some photographs of company, data center etc., in to the presentation. For some reason, pictures were not ready and I was always worried that, deadline is near by and they are not giving me pictures. How I would able to finish the project on time? Whenever, I contact my reporting officer, He was telling me – “Ashvin, use some dummy boxes right now and start working on picture effects”. And I was thinking like, How can I give effects without having real photographs. He might be thinking, why this guy is always asking a single question – “Where are the photographs?”. That’s the difference between perspective about a project between project manager and developer or designer.

    Currently, I am working at a FlashBrain as Project Manager. Project release as a manager is a different thing and it’s different thing as a programmer. Project manager thinks that release should be there on deadline. He agree that, It’s not always possible to have perfect planned release on planned date. But, release should be there with some modules not implemented or with some known issues. For Project Manager, His commitment to the client is important about timings. Even client agree that release may not contain everything planned. If there is one or two day delay is there with a release as per plan that is even okay for a client. But if, Project Manager is giving commitments to the client about releases and client don’t see a release after more than 2 false commitments, Client starts thinking about – “Are they serious about their commitments? or Are they even working on my project?”. While projects are outsourced to remote locations (That’s the case for FlashBrain, We provide outsourcing services for Flash development projects), this is the biggest threat.

    If we imagine the same thing as a developer perspective, There are two kind of developers. One who are perfectionists and another type is who believes in finishing the work and they are not much serious about quality of the work. For both kind of developers, there are advantages and drawbacks associated with them. Perfectionists are good for a company in long run, As whatever they do is perfect. But the drawback is, they will take more time to implement the solution and which might even more than the deadline. Other type of programmers, who mostly finish all the tasks on time but in a long run, He or other programmer may need to do rework on that in later stages of the project.

    In FlashBrain, Our 95% of Flash Developers are perfectionists. While, they are working on some project, they want to have it perfect. They give priority to quality of work instead of deliver it on given date. Of course, they get permission for that from Project Manager and respective Clients. Our developers always tries to minimize known issues and bugs ratio from the work done by them. So for sometimes releases are not ready on given date. Project Manager wish that even with some known issues, Project Release can help him to maintain his commitments given to the Client.

    In our last management meeting, We were thinking to if its possible to come up with some process which can keep everybody happy – Client, Project Manager, Developers and of course quality of the work. At FlashBrain, We believe in trying every possible solution to make sure the path we are choosing is most optimized in every aspect if feasible. The first solution we are trying currently is, Do a quick review of the work being done by team twice in a day. It doesn’t matter if the quick review is just for 30 seconds or 5 minutes. It’s all about to make sure that team is on correct path. If not, We have two chances in a day to cure it. This means, We can see what is going on with release twice in a day. If one particular module is taking more time than expected, due to whatever reason – Project Manager or Client can take decision on that as soon as possible and this practice will help to keep the distance between planned release and actual release.

    If our current solution will help us to improve release qualities, I will share more about that or other solutions that we might try in future.

    We are using staging server inside our organization (CentOS) to test the applications that we work on. We heavily use AMFPHP based PHP services to do communication between business logic and client front end in flash.

    Team requested to have native JSON support for PHP and I found a very simple way to do it as following:

    1. Login to shell prompt with user credentials (which allows you to install stuff on server).
    2. Execute command yum update “*php*”
    3. This should update all PHP related components to the latest version. (Assuming you installed yum etc., on CentOS)
    4. Once done that, You will require to install Pear based JSON support by following command.
    5. pecl install json
    6. This will install JSON, simply wait and cross your fingers! If it says OK in last 2 lines, everything is fine so far.
    7. You will also require to enable JSON support in php.ini
    8. Smart way to do that is, create a new file in /etc/php.d/ called json.ini
    9. The file should contain this line: extension=json.so
    10. Finally, restart the HTTP (Apache) Server by command: service httpd restart

    Done! Here is the all keyboard actions together, after you logged in:

    yum update “*php*”

    pecl install json

    cd /etc/php.d/

    echo “extension=json.so” >> json.ini

    service httpd restart

  • 10 Comments
  • Filed under: AMFPHP
  • Meeting – Creating IMAP client with Adobe AIR – Part 1

    Hello friends,

    Today, Once again We came up with interesting meeting series. Instead of just one speaker, We are including many speakers who have expertise in different topics. As mentioned in the meeting topic, Here are the modules we are planning to include in whole series of meetings:

    1. Basics of AIR. (By Ashvin Savani)
    2. Basics of Protocol. (By Ashvin Savani)
    3. Basics of IMAP. (By Ashvin Savani)
    4. How to understand any protocol specifications from specification document / RFCs.
    5. Basics of Socket Communication in Flash Action Script 3.
    6. Handshaking with IMAP Server.
    7. UI – Login Screen.
    8. UI and Event Handling.
    9. Authentication with IMAP Server.
    10. Retrieving Folder Structure from Server.
    11. UI – Displaying Folder Structure.
    12. Retrieving Email headers for given folder (From, To, CC, BCC, etc.,).
    13. Retrieving Email data for given email.
    14. Separating Email Body and Attachments from email data.
    15. UI – Displaying Email Body.
    16. Decoding Email Attachments in to file data.
    17. (Not Sure – For Now) Scan the file via anti virus tool before display it.
    18. UI – Displaying whole email.
    19. UI – Replying email.
    20. Basics: Sending an email via SMTP.
    21. SMTP specifications and normal procedures.
    22. Handshaking with SMTP.
    23. Sending an email with SMTP.
    24. Final touch up to the application.
    25. Lessons Learnt by each attendee.

    I hope, all of us will really enjoy this series and it would be meaningful add on pack to the knowledge of everyone of us:

    As usual, Sponsor for Event, Place and Equipments is Avinashi and FlashBrain.

    Part 1 – Venue and Time:

    FlashBrain Unit, Avinashi Systems.
    Seminar Hall, 2nd Floor,
    Kohinoor Complex, Saiyedpura,
    Surat – 395 003.

    User Group ManagerAshvin Savani
    User Group Co-Manager
    Naresh Khokhaneshiya

    Update:

    • We were able to finish 3 topics on first part of our meeting on 2nd Aug 08.