Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
CRUD Operation of images through XML
1. CRUD Operations of Images
through XML
Guided By -
Prof. (Dr.) Somnath Dey
Assistant Professor in the Discipline of Computer Science
and Engineering at Indian Institute of Technology Indore
An Internship Project
on
3. Project Introduction
The project deals with storing image files in the
database and converting than into file XML. The
need of converting this image files into file XML
is to allow them to easily get imported in
MATLAB software. The project also has the
functionality to handle stored image by
providing EDIT, DELETE and SEARCH function.
4. Motivations
The motivation for doing this project was
primarily an interest in undertaking a
challenging project in an interesting area of
database handling images. The opportunity to
learn about a new area of computing is not only
appealing but with also help in enhancing my
problem solving & computing skills.
5. Objectives
• Mass Storage
• Integrity
• Multiple User Access
• Every one can work on database
• Platform Independent
6. Technology
• The technology have been used
oPHP
oXAMPP Server
• System Requirement
o System Requirements - No special requirements
o OS Support - Win7 x64, WinXP, WinVista, Win7 x32, Win8 x32,
Win8 x64, Win10 x32, Win10 x64
o Size - 125Mb
7. PHP
• PHP is a recursive acronym for "PHP: Hypertext
Preprocessor".
• PHP is a server side scripting language that is embedded
in HTML.
• It is integrated with a number of popular databases,
including MySQL, PostgreSQL, Oracle, Sybase, Informix,
and Microsoft SQL Server.
• PHP is pleasingly zippy in its execution, especially when
compiled as an Apache module on the Unix side.
• PHP Syntax is C-Like.
8. XAMPP Server
• XAMPP is an open source free software developed by Apache
friends. XAMPP software package contains Apache
distributions for Apache server, MariaDB, PHP, and Perl. And it
is basically a local host or a local server. This local server works
on your own desktop or laptop computer. You can just install
this software on your laptop or desktop and test the clients or
your website before uploading it to the remote web server or
computer. This XAMPP server software gives you suitable
environment for testing MYSQL, PHP, Apache and Perl projects
on the local computer.
• The full form of XAMPP is X stands for Cross-platform,
(A)Apache server, (M)MariaDB, (P)PHP and (P)Perl. The Cross-
platform usually means that it can run on any computer with
any operating system.
9. Flow of Project
Data
Collection
• In this the
image files
are collected
by manually.
Data Store
• The data is
stored in
folder
Explode
• The image
name is
exploded
Convert in
the XML
format
10. Data Collection
• Data collection is the systematic approach to
gathering and measuring information from a
variety of sources to get a complete and
accurate picture of an area of interest. Data
collection enables a person or organization to
answer relevant questions, evaluate outcomes
and make predictions about future
probabilities and trends.
11. Continue….
The Fingerprint are scanned By manually.
Then the image file name should be
#_####_#_#_#
Example -
The image is
classified by
session_username
_left/right_finger_
sample.
12. Data Store
A data store is a repository for persistently storing and
managing collections of data which include not just
repositories like databases, but also simpler store
types such as simple files, emails etc.
A database is a series of bytes that is managed by a
database management system (DBMS). A file is a
series of bytes that is managed by a file system. Thus,
any database or file is a series of bytes that, once
stored, is called a data store.
MATLAB and Cloud Storage systems like VMware,
Firefox OS use data store as a term for abstracting
collections of data inside their respective applications
13. Continue….
• Now data will be store in database
• And the image files is also stored in folder.
Click on the
“Choose Files”.
14. Then, we will select
the images.
Note - Only we can
select the 20 images
at the time.
Continue….
21. Explode
• The explode function is used to "Split a string
by a specified string into pieces i.e. it breaks a
string into an array". The explode function
in PHP allows us to break a string into smaller
text with each break occurring at the same
symbol. This symbol is known as the delimiter.
23. Convert in XML format
• XML - eXtensible Markup Language - is a
markup language designed to give a great
amount of flexibility in marking up and
passing around arbitrary data. In the web,
XML is normally used for transporting data
through feeds, API calls and the like. XML is
also frequently used for configuration files for
web frameworks such as Spring.
24. Continue….
• The Data is convert in xml format
The data is
converted in
xml.
Click on the
“Export in xml”
25. Limitations
• Only the JPG, PNG, GIF file format store.
• If the Duplication of data will create with the
some random name.
• Multiple files can’t be deleted at the time.
26. Future Scope
If I had more time to implement on this project I
would enhance the more relevant for the non
technical person. I would look at implementing
more easier to get information such as update
and delete history.
Editor's Notes
The echo statement is one of several facilities PHP provides to output text, e.g., to a web browser. In terms of keywords and language syntax, PHP is similar to the C style syntax. if conditions, for and while loops, and function returns are similar insyntax to languages such as C, C++, C#, Java and Perl.
Repository - data warehouse
Delimiter meaning separator.
API- Application Program Interface
Arbitrary data is any data in any format.