Create Chat like facebook
This paper simply fill spare time and try to review the back so as not to forget about the PHP programming and learning a bit about the framework.
Possible and certainly we often open facebook and meet friends – friends that we rarely meet. Facebook also provides features that can assist in communicating with our friends the chat. With the chat we can share information and get acquainted with new friends. But if examined, how to make chat a directly attached to the look of a web or facebook …..??
Well … now I want to share how to create a chat like that of facebook using a PHP framework.
let’s get started…
- Here I create a database first “facebookchat” (without the quotes), to accommodate all the data, either user should login or chat the user.
- Then create 3 tables namely chat, ci_sessions, users.
- table of chat, ci_sessions, users
- table of chat, ci_sessions, users
- Now, we begin to get into programming. The first thing to do is to first define the database used in the system> application> config > database.php. adjust the username, password and database name that is used
$db['default']['hostname'] = “localhost”; –> default
$db['default']['username'] = “root”; –> default
$db['default']['password'] = “kebersamaan”; –> your sql password
$db['default']['database'] =
“facebookchat”; –> your db name
$db['default']['dbdriver'] = “mysql”;
$db['default']['dbprefix'] = “”;
$db['default']['pconnect'] =
TRUE;
$db['default']['db_debug'] =
TRUE;
$db['default']['cache_on'] =
FALSE;
$db['default']['cachedir'] =
“”;
$db['default']['char_set'] =
“utf8″;
$db['default']['dbcollat'] =
“utf8_general_ci”;
- Then create the sql command in the model folder, create a web control in the controller folder, and create a web interface / interface in folder viewsThe entire file can be downloaded at this link http://adf.ly/56MS2 . the file has been uploaded there is also the sql of this project.
- ok … that’s all I can possibly share, feel free … enjoy it ^^
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
Quiz : Computer Network II
you can download the file of quiz in this link…
ziddu :
http://www.ziddu.com/download/18163357/QUIZ_comnet2.doc.html
the results of the quiz must print out and handed it to me one day after the information is issued.. ^^
Thanks..
Practice : packet tracert simulasi part I
you can download the file in here :
ziddu : http://www.ziddu.com/download/17800068/New_PraktikumKomputerNetwork_II.pdf.html
for information :
I wait for the results until tomorrow at 15 am in lecturer room
best regards,
wisnu
Android Intents
try to write back … about somethings that are useful and helpful for myself or other users …. ^^
now I try to explain the use of intents in programming android. In this article will also be in a few source code examples of the use of intents in programming android.
Intents
intents are invoked using the following options:
- startActivity (intent) —-> launch an Activity
- sendBroadcast (intent) —–> sends an intent to any interested BroadcastReceiver components
- startServices (intent) —-> communicate with a background service
The main arguments of an intent are:
- Action —-> the built-in action to be performed, such as ACTION_VIEW, ACTION_CALL, ACTION_EDIT, ACTION_MAIN, … or user-created-activity
- Data —–> the primary data to operate on, such as phone number to be called (expressed as a Uri)
Typically an intent is called as follows :
Intent myActivity = new Intent(action, data);
startActivity (myActivity);
Example:
Display the phone dialer with the given number filled in.
Intent myActivity2 = new Intent(Intent.ACTION_DIAL, Uri.parse(“tel:5551234″));
startActivity(myActivity);
result:
here the file that you can download and practice at your computer:
http://www.ziddu.com/download/17646802/file.rar.html
System Neuro Fuzzy
download in this link : http://www.ziddu.com/download/17459186/BAB_V_Sistem_Hibrid_Neuro_Fuzzy.pdf.html
Practice Computer Network II : Subnetting
You can download this practice in here :
ziddu : http://www.ziddu.com/download/17217865/Latihan_Komputer_Network_II_subnetting.pdf.html
thanks…
Practice Computer Network II : FTP Server
You can download this practice in here :
Ziddu : http://www.ziddu.com/download/17032039/LatihanKomputerNetworkII.pdf.html
I hope you do this exercise and I wait for the results ….. maximum next week
thanks…
Pretest : Computer Network II
untuk pretest nya… kalian bisa download di salah satu alamat di bawah ini :
ziddu : http://www.ziddu.com/download/16857478/PretestKomputerNetworkII.pdf.html
mediafire : http://www.mediafire.com/?p8fk4m82fb9ca4r
Pretest : Sistem Database II
untuk pretest nya… kalian bisa download di salah satu alamat di bawah ini :
ziddu : http://www.ziddu.com/download/16856358/Pretes_Sistem_DatabaseII.pdf.html
mediafire : http://www.mediafire.com/?5hwu9tcvcd6a4n3

