Академический Документы
Профессиональный Документы
Культура Документы
The work reported in this report was carried out by me under the supervision of Prof.Tasleem
Mustafa, Department of Computer Science, Agriculture University Faisalabad, Pakistan.
I hereby declare that the Real-Time HTML Editor and the contents of the report is the
product of my own research and no part has been copied from any published source (except the
history). I further declare that this work has not been submitted for award of any other degree /
diploma. The university may take action if the information provided is found inaccurate at any
stage.
Submitted By
ACKNOWLEDGEMENTS
I am immeasurably indebted to ALLAH ALMIGHTY, the propitious, the benevolent and
sovereign whose blessings and glory flourished my thoughts and thrived my ambitions, giving me
talented teachers, affectionate parents, beloved brother, sweet sisters and unique friends. Trembling
lips and wet eyes praise for HOLY PROPHET (PBUH) for enlightening our conscience with the
essence of faith in ALLAH, converging all his kindness and mercy upon him.
The work presented in this manuscript is accomplished under the sympathetic attitude,
animate directions, observant pursuit, scholarly criticism, cheering perspective and enlightened
supervision of Prof.Tasleem Mustafa, Chairman at Department of Computer Science University of
Agriculture, Faisalabad. His effort towards the inculcation of spirit of handwork and maintenance of
professional integrity besides other valuable suggestions always serves as a beacon light through the
course of my life. Earnest and devout appreciation to my supervisory committee members
I owe a debt of gratitude to Mr. Tasleem Mustafa, chairman of Dept of Computer Science
Faisalabad who extended all possible help for the smooth execution of studies reported here.
Words are lacking to express my humble obligations to my parents in grateful appreciation
of their pray, help, kindness, understanding and moral support, when I needed. Special love and
thanks to our ALLAH.
Abstract
The aim of this project is to make an HTML Editor which makes it easy to make and edit the
existing HTML pages. It strikes to make an editor which can change the HTML coding at the RunTime and then show these changes to the user at the very same time so that a user can see what are
the effects of the changes on the web page design and its elements.
This editor also has a built-in Web-Browser which enables a user to see the web-page he/she is
designing and also to surf the internet if need be. Hence it is an easy to use Editor which cuts the
need of writing an HTML code in a notepad and then opening a separate Browser again and again
to watch the changes in design of the Web-Page.
Also a user is able to get the Source-Code of a web-Page in the rich textbox which makes it easy to
view the design of a developed web-page and also to use its coding for your own web-page.
Table of Contents
Chapter 1 Introduction....................................................................................................................1
1 Introduction.......................................................................................................................................1
1.1 Introduction to the Project..............................................................................................................1
1.2 Existing Systems............................................................................................................................1
1.3 Proposed System............................................................................................................................2
1.3.1 WYSIWYG HTML Editors...............................................................................................2
1.4 Problem in previous system...........................................................................................................2
1.5 Developed System..........................................................................................................................3
1.6 System objectives...........................................................................................................................4
1.7 System Requirements.....................................................................................................................4
1.7.1 Hardware Requirements:...................................................................................................4
1.7.2 Software Requirements:....................................................................................................4
1.8 SELECTED SOFTWARE..............................................................................................................4
1.8.1 Visual Studio 2013...........................................................................................................4
1.8.2 .NET Framework..............................................................................................................5
1.9 Programming Language.................................................................................................................5
1.9.1 Visual Basic.....................................................................................................................5
Chapter 2
Methodology..................................................................................................................6
SYSTEM ANALYSIS..........................................................................................................................6
2.1 INTRODUCTION..........................................................................................................................6
2.2 ANALYSIS MODEL......................................................................................................................6
2.3 WATER FALL MODEL.................................................................................................................7
2.3.1 System Requirements.......................................................................................................8
2.3.2 System Analysis...............................................................................................................8
2.3.3 System Design.................................................................................................................8
2.3.4 System Development........................................................................................................9
Results..........................................................................................................................23
3.1 Results..........................................................................................................................................23
3.2 User Manual.................................................................................................................................24
3.2.1 Welcome Form..............................................................................................................25
3.2.3 The OpenDialogue Box..................................................................................................27
3.2.4 Editor when being used a Web-Browser...........................................................................28
Summary....................................................................................................................30
4.1 Summary......................................................................................................................................30
List of Figures
Figure 1 : Use Case Diagram of Editor..............................................................................................12
Figure 2 : DFD Diagram of Editor.....................................................................................................13
Figure 3 : Class Diagram of Editor....................................................................................................14
Figure 4 : ER Diagram of Editor........................................................................................................15
Figure 5 : Architecture of the HTML Editor......................................................................................16
Figure 6 : Sequence Diagram when used as Editor............................................................................17
Figure 7 : Sequence Diagram when used as Web Browser................................................................18
Figure 8 : User Manual.......................................................................................................................24
Figure 9 : Welcome Screen.................................................................................................................25
Figure 10 : Real-time HTML Editor with HTML Page.....................................................................26
Figure 11 : Open DialogueBox...........................................................................................................27
Figure 12 : Real-time HTML Editor used as a Web Browser............................................................28
Figure 13 : Real-time HTML Editor getting the Inner HTML-Code of a web-page.........................29
Chapter 1
Introduction
1 Introduction
An HTML editor is a computer program for editing HTML, the mark up of a webpage.
HTML (Hypertext Mark-up Language) is the set of markup symbols or codes inserted in a file
intended for display on a World Wide Web browser page. The markup tells the Web browser how to
display a Web page's words and images for the user. Each individual markup code is referred to as
an element (but many people also refer to it as a tag). Some elements come in pairs that indicate
when some display effect is to begin and when it is to end. HTML is a formal Recommendation by
the World Wide Web Consortium (W3C) and is generally adhered to by the major browsers,
Microsoft's Internet Explorer and Netscape's Navigator, which also provide some additional nonstandard codes.
Different browsers and applications will render the same mark-up differently.
o The same page may display slightly differently in Internet Explorer and Firefox on a
high-resolution screen, but it will look very different in the perfectly valid textonly Lynx browser. It needs to be rendered differently again on a PDA, an internetenabled television and on a mobile phone. Usability in a speech or Braille browser,
or via a screen-reader working with a conventional browser, will place demands on
entirely different aspects of the underlying HTML
applications and web services. Visual Studio uses Microsoft software development platforms such
as Windows API, Windows Forms, Windows Presentation Foundation, Store and Microsoft
Silverlight. It can produce both native code and managed code.
conflicts.
to provide a code-execution environment that guarantees safe execution of code, including code
or interpreted environments.
To make the developer experience consistent across widely varying types of applications, such
as Windows-based applications and Web-based applications.
Chapter 2
Methodology
SYSTEM ANALYSIS
2.1 INTRODUCTION
After analysing the requirements of the task to be performed, the next step is to analyse the problem
and understand its context. The first activity in the phase is studying the existing system and other is
to understand the requirements and domain of the new system. Both the activities are equally
important, but the first activity serves as a basis of giving the functional specifications and then
successful design of the proposed system. Understanding the properties and requirements of a new
system is more difficult and requires creative thinking and understanding of existing running system
is also difficult, improper understanding of present system can lead diversion from solution.
Requirement Analysis
Project Planning
System design
Detail design
Coding
Unit testing
Changed Requirements
Communicated Requirements
Requirements Specification
Requirements Engineering
Design
Design
Specification
Programming
Integration
Delivery
The Waterfall Model was first Process Model to be introduced. It is also referred to as a linearsequential life cycle model. It is very simple to understand and use. In a waterfall model, each phase
must be completed before the next phase can begin and there is no overlapping in the phases.
Waterfall model is the earliest SDLC approach that was used for software development.
The waterfall Model illustrates the software development process in a linear sequential flow; hence
it is also referred to as a linear-sequential life cycle model. This means that any phase in the
development process begins only if the previous phase is complete. In waterfall model phases do
not overlap.
The waterfall model is the oldest and most widely used model in the field of software
development. There are certain advantages of this model, which makes it, one of the most
The waterfall methodology stresses meticulous record keeping. Having such records allows for
the ability to improve upon the existing program in the future.
With the waterfall methodology, the client knows what to expect. Theyll have an idea of the
size, cost, and timeline for the project. Theyll have a definite idea of what their program will do
in the end.
In the case of employee turnover, waterfalls strong documentation allows for minimal project
impact.
10
2.4.1 INPUTS:
1.
2.
3.
4.
5.
2.4.2 OUTPUTS:
1.
2.
3.
4.
11
Editor
Editor
Figure 1
12
Figure 2
13
Figure 3
14
Figure 4
15
CRHW ioT ec nM hb t T- L a e i xn
BetE B rdr o i 21 t xw o sr e
r
Figure 5
Explanation
This HTML Editor has two container panes.
Container 1:
In first container there is a rich textbox which enables a user to write and edit html pages. Source
code of any HTML file can be opened and edited here.
Container 2:
In the second container there is Web-Browser which enables a person to see the web page design
whose code it being written in the Rich Textbox .this Browser can also be used for separate internet
surfing.
16
Actual
Field
Text
Editor
Reading
Figure 6
17
Variance
Text Field
Figure 7
18
Images
Control Name
Description
Pointer
Button
Label
List Box
Picture Box
Progress Bar
Rich Textbox
Text Box
Web Browser
19
S.N.
MenuStrip
It provides a menu system for a form.
ToolStripMenuItem
It represents a selectable option displayed on
a MenuStrip orContextMenuStrip. The ToolStripMenuItem control replaces
and adds functionality to the MenuItem control of previous versions.
occurs when a key is pressed down and the control has focus
KeyPress
occurs when a key is pressed and the control has focus
KeyUp
occurs when a key is released while the control has focus
Refresh
GoForward
GoBackward
Get the Source Code of a Page and display it in the Rich Textbox
2.11.6 Timer
Timer Control plays an important role in the Client side programming and Server side
programming, also used in Windows Services. By using this Timer Control, windows allow you to
control when actions take place without the interaction of another thread.
21
Chapter 3
Results
3.1 Results
Following are the results of the final product:
22
This Real-Time HTML Editor can perform all the functionalities that are mentioned in the
key features of the Editor.
It makes it easy to design web pages in a user friendly environment.
HTML editor is great tools for beginners to quickly create web pages and put them on the
net.
The presence of a fully functional web-Browser make it easy to surf the internet if you have
some problem in understanding the design of the page or it can be used separately as a
browser.
We can get the source code of a web-page opened in the browser which can be useful in
understanding the layout and different elements on that page and can be educationally used.
23
Figure 8
24
This form appears at the start of the Real-Time HTML Editor. This welcome form has a
progress bar which is controlled by the timer.
Figure 9
25
The below figure shows an HTML page being opened in the Real-Time HTML Editor. The
user can see the source code of the page in the Rich Textbox while the page design is loaded in the
web-Browser.
Figure 10
26
Figure 11
27
Figure 12
28
Figure 13
29
Chapter4
Summary
4.1 Summary
It has been a great pleasure for me to work on this exciting and challenging project.RealTime HTML Editor is like a WYSIWYG Editor in which you can see what your web-page would
look like at the development time in the Web Browser.
Some people find text editors more difficult to design pages in because they can't visualize how the
page will look from just the HTML. This Editor can be of help here as it is more easy to use.
Apart from that this Editor can also be used as a stand-alone Web-Browser so that a user can browse
a website if he/she encounters a problem. Also, a user can get the Source code of a web page in the
rich textbox and save that source code for the future use. This source code can be helpful in learning
about the design of an already developed web-page.
Most editors also offer a HTML code viewer in which the HTML code of the web page is displayed.
So in essence, HTML editors make it very simple for you to create a web page without digging
through the intricacies of HTML.Ability to type HTML code and see how it looks like at the same
time. What you see is what you get HTML Editor. WYSIWYG HTML Editor. User friendly and
easy to learn. For simple edits, it is often faster to make changes to a page using editor.
Because you have to learn both HTML and the editor functions itself, a beginner will find a text
editor more difficult to use. Some people find text editors more difficult to design pages in because
they can't visualize how the page will look from just the HTML. This Editor can be of help here as
it is more easy to use.Anyone can create web sites and put them online Create web sites quickly
Provide a platform to start learn HTML
30
31