Tampilkan postingan dengan label Database. Tampilkan semua postingan

MongoDB PHP Tutorial

Selasa, 08 Januari 2013
Posted by Unknown
Now time to work with MongoDB NoSQL database management systems, it stores data into structured JSON like documents with dynamic schemas and improves application performance. This tutorial helps you how to create a simple login page using PHP and MongoDB. Try this download script and implement scalable application.

MongoDB PHP Tutorial
Read more »
Description: MongoDB PHP Tutorial
Rating: 4.5
Reviewer: Unknown
ItemReviewed: MongoDB PHP Tutorial

Memcached with PHP.

Senin, 13 Februari 2012
Posted by Unknown
Memcahced open source distributed memory object caching system it helps you to speeding up the dynamic web applications by reducing database server load. In this post I want to explain how I had implemented Memcached object caching system for demos.9lessons.info. This system is very helpful for high traffic media and blog related websites.

Memcached
Read more »
Description: Memcached with PHP.
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Memcached with PHP.
Introducing the Wall Script 4.0 commercial edition, a rich wall updating script and it’s a collaboration of 9lessons blog tutorials and some Jquery plugins. We added and improved many new features like instant photo uploads , webcam snap, more button, collapsed comments, expanding urls and delete update animations. Don't miss the video demo. Thanks!

Facebook Wall Script 4.0
Read more »
Description: Facebook Wall Script 4.0 Release
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Facebook Wall Script 4.0 Release

Working with Facebook SDK Permissions.

Kamis, 29 September 2011
Posted by Unknown
Facebook is the new Web planet, nowadays it’s a part of human life. Facebook offering user data access via Graph API. This is very helpful for start-up web projects to quickly collecting people data. This post explains you how to request Facebook login, permissions,reading user data and updating Wall using Facebook SDK. Tutorial contains multiple demos try all these Thanks!.

Login with Facebook
Read more »
Description: Working with Facebook SDK Permissions.
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Working with Facebook SDK Permissions.
Are you looking for Google plus style drag and drop adding friends in groups or circle. Google plus circle implementation so cool, same way I have tried similar user groups adding application with drag and drop effect using jquery and php. I hope it’s useful for your social media web projects.

Google Plus Style Drag and Drop adding Groups

Read more »
Description: Google Plus Style Drag and Drop adding Groups
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Google Plus Style Drag and Drop adding Groups

Smarty Template Engine using PHP

Senin, 05 September 2011
Posted by Unknown
This post is about basic template engine management using Smarty with PHP. Smarty engine is an awesome tool, it saves your design development time. My friend Anil Panigrahi made a simple tutorial that how to implement Smarty for you PHP applications to follow basic standards and steps.

Smarty Template Engine using PHP

Read more »
Description: Smarty Template Engine using PHP
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Smarty Template Engine using PHP
I received many tutorial requests from my readers that asked to me how to display and store foreign/regional language UTF-8 data into MySQL database using PHP code. This post explains you to solve Unicode data problems, just there steps you should follow take a quick look at this post.

UTF-8 using MySQL and PHP.
Read more »
Description: Working with Foreign Languages using MySQL and PHP.
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Working with Foreign Languages using MySQL and PHP.
Writing a update on friend wall, this is the most important part in social networking sites. Famous networking sites are like Facebook and Orkut but people calling different like wall and scrap. Now Twitter testing this feature. I have enable this option in labs.9lessons.info. This post explains you how to design database and table relationships for posting a update on friend wall..

Wall Database Design
Read more »
Description: Wall Database Design
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Wall Database Design

Live Table Edit with Jquery and Ajax

Selasa, 22 Maret 2011
Posted by Unknown
I love Jquery framework, feels that we can do awesome things. Let’s take a look at how to implement live table edit with Jquery and real time database update using Ajax. This is an interesting concept playing with DOM objects. You know that majority of readers had requested this tutorial, hope you guys like it!

Live table edit with jquery
Read more »
Description: Live Table Edit with Jquery and Ajax
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Live Table Edit with Jquery and Ajax

Payment System with Paypal

Senin, 14 Maret 2011
Posted by Unknown
I received a tutorial requests from my reader that asked to me how to implement payment gateway system with Paypal API. In this post I want to explain how to work with Paypal Sandbox test accounts for payment system development and sending arguments while click buy now button. It’s simple and very easy to integrate in your web projects.

Payment System
Read more »
Description: Payment System with Paypal
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Payment System with Paypal

Yahoo Oauth Login Connect

Kamis, 20 Januari 2011
Posted by Unknown
Nowadays every website authenticating a user using some of the greatest trusty third party websites like Google, yahoo or some of the social networks. Today we are learning how to authenticate a user using his Yahoo account. By using third party login we make user feel happy by avoiding filling a registration form. So just start with a simple illustration.

Yahoo connect using Social sdk
Read more »
Description: Yahoo Oauth Login Connect
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Yahoo Oauth Login Connect

User Signup using Facebook Data

Rabu, 12 Januari 2011
Posted by Unknown
Using facebook registration plug-in users can easily sign up on your website using facebook data. With one simple facebook login the form will be filled with user appropriate data. This plug-in is a simple iframe you can place it anywhere on your webpage. You can also add a custom field if facebook doesn’t have.

User Registration using facebook registration plugin
Read more »
Description: User Signup using Facebook Data
Rating: 4.5
Reviewer: Unknown
ItemReviewed: User Signup using Facebook Data
Search box most important element on web pages specially contented management sites. In this post I want to explain very basic searching techniques and Unicode data searching using SQL LIKE statement. I hope you like this. Thanks

Search box techniques
Read more »
Description: Database Searching Techniques with SQL
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Database Searching Techniques with SQL

Stored Procedure Lesson

Kamis, 01 Juli 2010
Posted by Unknown
Are you writing Stored Procedures if not please take a look at this post. Stored procedures can help to improve web application performance and reduce database access traffic. In this post I want to explain how to create and call the stored procedures from database server.

Stored Procedure
Read more »
Description: Stored Procedure Lesson
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Stored Procedure Lesson

Join Tables Relationships with SQL

Kamis, 13 Mei 2010
Posted by Unknown
My previous post Database Design Create Tables and Relationships with SQL. This post is sequel how to join these tables and displaying proper data. I had used these SQL statements at labs.9lessons.info.

database design
Read more »
Description: Join Tables Relationships with SQL
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Join Tables Relationships with SQL
This post explains how to design typical relationaships database for socialmedia web application. Today I'm presenting my labs.9lessons application database relations design and SQL with diagrams. I hope you like this post.

9lessons Labs Database Design.
Read more »
Description: Database Design Create Tables and Relationships with SQL
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Database Design Create Tables and Relationships with SQL
Some days back I had posted a tutorial about parsing JSON data with jQuery .getJSON(). In this post I want to explain about 'How to use JSON callback and to display cross domain data with jQuery'. It's simple and useful. Take a look at this live demo
Cross Domain
Read more »
Description: Display Cross Domain Data with Jquery JSON Callback.
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Display Cross Domain Data with Jquery JSON Callback.
Some days back I had posted an article about MySQL WorkBench Usage. So in this post I want to explain how to take backup your database using MySQL Administrator. It's a part of MySQL GUI Tools.

It's very easy to use and using this we can take backup and restore web projects database.



Read more »
Description: Backup your Web Projects Database using MySQL Administrator.
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Backup your Web Projects Database using MySQL Administrator.

Visual Database Design with MySQL Workbench

Kamis, 08 Januari 2009
Posted by Unknown
Few days back I received one request about Mysql WorkBench Usage. So in this post I want to explain with screen shots to create a visual database design, follow these steps.

I prepared this tutorial to improve your Database design Skills in Visual style.

Download Mysql Workbench

For example if we want to project like Twitter web site updating user profile, our database will have these entities:

1 - Users( User_name, password, email, some registration data....)

2 - Updates( Updates/Messages added by the Users)

Step 1 -> Add EER Diagram


Step 2 -> Place a New Table


Ok now... edit the table just right click.


You have to add Column and fix the Data types.


Set the table Primary Key in Column details


Same way you have to create Update table also.

Step 3->Link the both table with Relationship tools


Link the Updates table to Users table automatically generate Foreign key column.


Finally export project SQL script.


We can export ERR Diagram image *.png formate also.

If you feel free post a Comment..

Description: Visual Database Design with MySQL Workbench
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Visual Database Design with MySQL Workbench
In the previous lesson we have seen how to design the relationship-entities model for a database to be used in a del.icio.us-like web site project. Our R-E model is:



Now we implement the database using SQL and phpMyAdmin. We crate a new database on phpMyAdmin and select the "SQL" tab. Copy and paste this SQL code into the form and click on execute button:


CREATE TABLE USER (
user_id_pk INT NOT NULL AUTO_INCREMENT,
user_name VARCHAR(40),
email VARCHAR(40),
password VARCHAR(20),
user_date DATE,
PRIMARY KEY (user_id_pk)
) TYPE=INNODB;

CREATE TABLE SITE (
site_id_pk INT NOT NULL AUTO_INCREMENT,
url VARCHAR(250),
description LONGTEXT,
share_data DATA,
PRIMARY KEY
) TYPE=INNODB;

CREATE TABLE SHARE (
share_id_pk INT NOT NULL AUTO_INCREMENT,
user_id INT NOT NULL,
site_id INT NOT NULL,
submitted_by INT NOT NULL DEFAULT 0,
PRIMARY KEY (share_id_pk),
FOREIGN KEY (user_id) REFERENCES USER(user_id_pk) ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (site_id) REFERENCES SITE(site_id_pk) ON UPDATE CASCADE ON DELETE CASCADE
) TYPE=INNODB;


Create Relationships
To create relationships between database's table (for example between SHARE table and the other tables) you have to use the SQL code below:

FOREIGN KEY (attribute_name_1) REFERENCES tableOfReference(attribute_name_2)


where attribute_name_1 is the foreign key (generally, a field of type INTEGER)a and attribute_name_2 the primary key of the table of destination.

To force the referencial integrity between the data of database, you have to add this code:

ON UPDATE CASCADE ON DELETE CASCADE


Our database is now ready and we can implement it using JSP, PHP and MySQL
Description: Delicious Database Design: create tables and relationships with SQL
Rating: 4.5
Reviewer: Unknown
ItemReviewed: Delicious Database Design: create tables and relationships with SQL
Welcome to My Blog

Popular Post

Labels

Followers

- Copyright © 2013 shad0w-share | Designed by Johanes Djogan -