If you are clear about what type of text format is used or needed to build this application, you will understand the input structure for a menu or variables or a text field in Flash Lite 1.1. I’m going to give you a detailed concept of a database so that you can easily been able to make your own mobile application with a huge amount of data.

Now I’m going to switch from .txt file to a database. The concept to pull data from MySQL with the help of a server side language like PHP is the same format as I did in the txt file. But there is a big difference between to load data directly into flash from PHP and from .txt file. Firstly I mention the raw size of the data inside a txt file will load entirely into the flash application when you load a .txt file, which you might not require the whole thing. Flash couldn’t pick the right data from a txt file either you store it according to your users’ need in different .txt file. If the data is huge, the application might be hanged. It is also quite impossible to load the right txt file as per the need of users because it will need a huge combination of data in every txt file. So, server side languages & MySQL combination is a perfect for your mobile application. You can totally leave it to the users to choose their combination of data with just a single coding in server side languages to pull the exact data from the database. So let’s start from the scratch.

Database MySQL:

Database is a container of tables. Tables are the container of information into rows and columns. One database can hold as many tables you want to create in it. Obviously there has a limit but I recommend you to read MySQL books for more detailed of this. Don’t worry about it I am quite sure that you don’t have to bother about the number of tables in a database you need for your entire application. It is a good concept to put one application under one domain and server. I’ll discus elaborately on “Managing Application & Business” to give you the right concept of management. Hold your breath and keep concentrate because lots of things are going to happen in this section of discussion.

I am going to give the entire example in widow’s platform, whereas other platform like UNIX, Linux, and Solaris etc is not the same as windows. They have different approaches and supports for databases and commands.

To start with database I’m now discus the Plan 2 of the EMI Calculator “Login Section”.

continue...

marlopax


Wednesday, September 16, 2009