Académique Documents
Professionnel Documents
Culture Documents
Week 5
What have we been at?
Down to tech stuff!
Dan is building the MySQL database.
Brian is creating the HTML and CSS.
Billy is working on the PHP.
Solid product due before final report.
Twitter Feed
PHP Parsing
MySQL Database
HTML Website
Frontend
Daniel Beere
Introduction to Twitter and MySQL
Twitter
Why We Twitter: Understanding
Microblogging Usage and Communities.
Studies Twitter’s Social Network.
User’s talk about daily activities and
seek/share information.
User’s intentions and connections with other
users.
Twitter
A Few Chirps About Twitter.
Detailed characterization of Twitter.
Identifies different classes of Twitter users and
their behaviours.
Geographical patterns and growth.
Current size of the network.
MySQL
MySQL is a relational database management
system (RDBMS) that runs as a server
providing multi-user access to a number of
databases.
Relational: DBMS which data is stored in the
form of tables and the relationship among the
data is also stored in the form of tables.
MySQL Features/Tools
Varchar: is a set of character data of
indeterminate length. Refers to a data type of
a field in a DBMS.
SELECT: Statement that returns a result set of
records from one or more tables.
Unicode: computing industry standard for the
representation of text expressed in writing
systems.
MySQL Features/Tools
Cache/Query Caching: component that
improves performance by storing data
such that future requests for that data can
be served faster.
Database Trigger: automatically executed
in response to certain events on a
particular table in a database. E.g. When a
new record (representing a new worker) is
added to the employees table, new
records should be created also in the
tables of the taxes, vacations, and
Code to Consider
$host = "testweb2.csis.ul.ie";
$user = "0867241";
$pass = "danbeere";
$db = "0867241";
$connection = mysql_connect($host,
$user, $pass) or die ("Unable to
connect!");