Tuesday, December 30, 2008

the application we are gonna develop with each other

our application is autmation system for exhibtion's company
allow us to add edit delete search ( users- exhibtions)
in next lesson we are gonna getting started with 1st lessons

Thursday, December 25, 2008

intro

this blog for ppl who are addicted of PHP and MYSQL Rather than ASP.net and SQL server.
Oops!!! but they wanna use SilverLight.
 LoL since I am one  of them I have searched heaps of time for articles about php and  silverlight 2 ( managed code )  but :(  sadly all of them are useless or just instructions so I decided to tie my legs in my chair and find a proper solution and Yessss!! eventually I designed application and it works fine its a simple automation application using silverlight ,php and mysql  ( can u imagin?)  its fabulous !
in coming lessons I am gonna explain step by step.
but now lets have a lil bit deep look
lets imagine that we have a river on it's left side there is a treasure inside a room has a gate . this treasure is our MYSQL DB and this room's gate is PHP code
and we are on the other side with a very good interface ( key) but we need to cross this river to get this treasure ) well we have to use a boat to get to treasure and get it back again this boat is a client side script ("Ajax") and our fin is ("XMLHTTP")
lets have that in scientific way
this digram will explain the flow and the Logic of the application


lets have quick explanation for every term we use
1-Mysql-the database engin I am gonna use to save data in
2-Php server side script using to insert retrieve the data in and from the DB
3-xmlhttp the ajax technology I am gonna use for exchangeing data between the server and client side
4-htmlpage is a silverlight manged code's class used for passing values from silverlight to javascript(unmanged code)
5-[scriptable] is the way to get ur silverlight functions([managed code] called by javascript functions[unmanaged code]