Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out

Full details about cloud os

VIEWS: 21 PAGES: 71

Cloud computing is the provision of dynamically scalable and often virtualised resources as a service over the Internet on a utility basis. Users need not have knowledge of, expertise in, or control over the technology infrastructure in the "cloud" that supports them. Cloud computing services often provide common business applications online that are accessed from a web browser, while the software and data are stored on the servers

More Info
									    CLOUD OPERATING SYSTEM USING AJAX
              CLOUD PLATFORM AND PHP


                       TABLE OF CONTENTS


CHAPTER NO.    TITLE                                        PAGE NO.

               ABSTRACT (English)                               5
               LIST OF TABLES                                   6
               LIST OF FIGURES                                   6
               LIST OF ABBREVIATIONS                            7
    1          INTRODUCTION                                     8
              1.1 LITERATURE SURVEY                              8
              1.2 OVERVIEW                                      10
    2         ARCHITECTURE DIAGRAM FOR CLOUDOS                  14
    3         DATAFLOW DIAGRAM                                   15
    4         MODULES                                            16
    5         SOFTWARE FEATURES                                 18
              5.1 OVERVIEW OF .NET FRAMEWORK                    18
                 5.1.1 ADO.NET                                   24
                 5.1.2 ASP.NET                                   24
                 5.1.3 C#.NET                                    26
              5.2 FEATURES OF WINDOW XP                          31
              5.3 INTERNET INFORMATION SERVICES (IIS) 5.0           32
              5.4 SQL SERVER 2005                                33
              5.5 XML SUPPORT                                    33
              5.6 ASP.NET AJAX CLOUD PLATFORM                    33
    6         SPECIAL FEATURES OF LANGUAGE / UTILITY             34
              6.1 .NET FRAMEWORK                                 34
              6.2 FEATURES OF COMMON LANGUAGE RUNTIME (CLR)      34
              6.3 ERROR HANDLING                                    35
              6.4 HANDS ON LAB SESSION                           36
     6.5 PHP LANGUAGE                            36
     6.6 WHAT IS MYSQL ?                         37
7    SYSTEM ANALYSIS                             37
     7.1 PACKAGES SELECTED                       37
     7.2 RESOURCES REQUIRED                      40
     7.3 FEASIBILITY STUDY                       41
        7.3.1 TECHNICAL FEASIBILITY              41
        7.3.2 ECONOMIC FEASIBILITY               41
        7.3.3 OPERATIONAL FEASIBILITY            41
8    DATABASE DESIGN                             42
9    UML DIAGRAMS                                43
     9.1 USECASE DIAGRAM                         43
     9.2 CLASS DIAGRAM                           44
     9.3 SEQUENCE DIAGRAM                        45
     9.4 COLLABORATION DIAGRAM                   46
     9.5 ACTIVITY DIAGRAM                        46
10   SAMLPE CODE                                 47
11   TESTING                                     55
     11.1 WHITE BOX TESTING                      55
     11.2 BLACK BOX TESTING                      56
     11.3 UNIT TESTING                           56
     11.4 USER INTERFACE TESTING                 57
12   SYSTEMS OVERVIEW & INSTALLATION PROCEDURE   58
13   SCREEN SHOTS                                59
14   FUTURE ENHANCEMENT & CONCLUSION             71
     REFERENCES                                  72
                                    ABSTRACT



       Cloud computing is the provision of dynamically scalable and often virtualised
resources as a service over the Internet on a utility basis. Users need not have knowledge
of, expertise in, or control over the technology infrastructure in the "cloud" that supports
them. Cloud computing services often provide common business applications online that
are accessed from a web browser, while the software and data are stored on the servers. A
technical definition is "a computing capability that provides an abstraction between the
computing resource and its underlying technical architecture (ex: servers, storage,
networks), enabling convenient, on-demand network access to a shared pool of
configurable computing resources that can be rapidly provisioned and released with
minimal management effort or service provider interaction." This definition states that
clouds have five essential characteristics: on-demand self-service, broad network access,
resource pooling, rapid elasticity, and measured service.


The cloud OS which we are supporting will be having
       1, File Explorer
       2, Document create, Edit and save capabilities
       3, User and log-in management
       4, Image and media file management
       5, Internal messaging and games etc
                       LIST OF TABLES

TABLE NO.      TITLE                               PAGE NO.


  1.         USER LOGIN REGISTRATION                   42
  2.         CLOUDB                                    42




                       LIST OF FIGURES

FIGURE NO.    TITLE                                PAGE NO.

  1.         SYSTEM DIAGRAM                            12
  2.         CLOUD COMPUTING SAMPLE ARCHITECTURE        13
  3.         ARCHITECTURE DIAGRAM FOR CLOUDOS           14
  4.         DATAFLOW DIAGRAM (DFD)                     15
  5.         DATABASE DESIGN                            42
  6.         UML DIARAMS                                43
       LIST OF ABBREVIATIONS


AJAX   Asynchronous JavaScript And Xml
PHP    Hypertext PreProcessor
IaaS   Infrastructure-as-a-Service
PaaS   Platform-as-a-Service
SaaS   Software-as-a-Service
XaaS   resource (X) as a Service
SLAs   Service Level Agreements
RAM    Random Access Memory
NIC    Network Interface Card
IIS    Internet Information Server
SQL    Structured Query Language
DFD    DataFlow Diagram
XML    eXtensible Markup Language
MSIL   Microsoft Intermediate Language
CLR    Common Language Runtime
ADO    ActiveX Data Objects
ASP     Active Server Page
                                  1 INTRODUCTION

1.1 LITERATURE SURVEY:

From socially-mediated to technology-mediated coordination: A study Of
design tensions using Group Scribbles

It is well known that scripts based on good practices can enhance the collaboration
effectiveness and efficiency in CSCL environments. Yet, to achieve rich, interactive, and
creative collaborative learning settings CSCL tools need new flexible, dynamic and
lightweight metaphors. This design tension between social and technology-mediated
coordination is difficult to resolve and worthy of close analysis. In this paper, we study
such a tension through the use of the Group Scribbles (GS) CSCL tool, developed at SRI
International, a GUI-based approach that enables the creation and enactment of
lightweight CSCL scenarios. The potential of GS, as well as its limitations and possible
extensions are studied in relation to design scripts based on Collaborative Learning Flow
Patterns. Preliminary experiences in an authentic environment illustrate several facets of
the design tension, such as the participants’ workload and awareness, or the adaptation to
emergent situations. On the other hand, this study points out the need for a new flexible
architecture that complements Group Scribbles.

Cloud Computing Use Cases

The Cloud Computing Use Case group brought together cloud consumers and Cloud
vendors to define common use case scenarios for cloud computing. The Use case
scenarios demonstrate the performance and economic benefits of Cloud computing and
are based on the needs of the widest possible range of Consumers.
The goal of this white paper is to highlight the capabilities and requirements that need to
be standardized in a cloud environment to ensure interoperability, ease of integration and
portability. It must be possible to implement all of the use cases described in this paper
without using closed, proprietary technologies. Cloud computing must evolve as an open
environment, minimizing vendor lock-inand increasing customer choice.



Computer support for knowledge construction in collaborative learning
environments:

Organisations increasingly use multidisciplinary teams to construct solutions for complex
problems. Research has shown that multidisciplinary teams do not guarantee good
problem solutions. Common ground is seen as vital to team performance. In this paper an
ICT-tool to support complex problem solving is studied. A framework for knowledge
construction inspired the design of computer support for knowledge construction. The
basic support principle consisted of making individual perspectives explicit, which serves
as a basis for negotiating common ground. This principle was embedded in a
collaborative learning environment in three ways, which differed from each other in the
extent to which users were coerced to adhere to the embedded support principles.
Coercion, as expected, was correlated with negotiation of common ground; the more
coercion, the more participants would negotiate the meaning of contributions to the ICT-
tool, and the more common ground they would have. Self-report data suggested that
Intermediate coercion resulted in the least common ground. This may have been caused
by some disruption of group processes.


BLOCK DIGRAM:
1.2 OVERVIEW:
       Cloud computing is the provision of dynamically scalable and often virtualized
resources as a service over the Internet on a utility basis. Users need not have knowledge
of, expertise in, or control over the technology infrastructure in the "cloud" that supports
them. Cloud computing services often provide common business applications online that
are accessed from a web browser, while the software and data are stored on the servers.


       Cloud computing is a new paradigm for the provision of every network-available
resource (X) as a service (XaaS). Although there are many definitions for the cloud, most
of them include these four basic ingredients.
• On-demand resource provisioning: The required resources (machines, online
libraries, version control systems, data management APIs, etc.) do not need to be online
or deployed beforehand.
• Pay-per-use model: Users pay only for the actual usage of resources.
• Quality guarantees: Quality of service is guaranteed by the provider by the usage of
service level agreements (SLAs).
• Scalability: The “size” of the service dynamically and automatically adapts to the
actual demand.
Assuming that all clouds provide these four features, clouds are also usually categorized
in three types, depending on the abstraction level of the provided services.
• Infrastructure-as-a-Service (IaaS) clouds supply virtual hardware resources such as
machines, networks, or storage. A well-known example is Amazon EC2.1 Here, users
must adapt, deploy, and control all the software stack their applications rely on.
• Platform-as-a-Service (PaaS) clouds provide a container environment for users to run
their software components— for instance, an application container, an online database
management system shared with several users, other mechanisms for data persistence to
be used by online applications deployed over the platform, etc. Examples are Google App
Engine2 (GAE) and Microsoft’s Azure.3
• Software-as-a-Service (SaaS) clouds give access to typical applications (e-mail clients,
etc.) through the network. As such, they are intended for final users, not for system
developers. The problem of dealing with education-supporting technologies is here
reduced to selecting and aggregating in an appropriate order a set of prepackaged
software services, and so this category is not included in this study.

Existing System


       The cloud has become a widely used term in academia and the industry.
Education has not remained unaware of his trend, and several educational solutions
based on cloud technologies are already in place, especially for software as a service
cloud. However, an evaluation of the educational potential of infrastructure and platform
louds has not been explored yet. An evaluation of which type of cloud would be the most
beneficial for students to learn, depending on the technical knowledge required for its
usage, is missing.

Proposed System

    In this synopsis, the term cloud is used as a metaphor for the Internet, based on how
the Internet is depicted in computer network diagrams and is an abstraction of the
underlying infrastructure it conceals. A technical definition is "a computing capability
that provides an abstraction between the computing resource and its underlying technical
architecture (ex: servers, storage, networks), enabling convenient, on-demand network
access to a shared pool of configurable computing resources that can be rapidly
provisioned and released with minimal management effort or service provider
interaction." This definition states that clouds have five essential characteristics: on-
demand self-service, broad network access, resource pooling, rapid elasticity, and
measured service.


        Cloud computing customers do not generally own the physical infrastructure
serving as host to the software platform in question. Instead, they avoid capital
expenditure by renting usage from a third-party provider. They consume resources as a
service and pay only for resources that they use. Many cloud-computing offerings
employ the utility computing model, which is analogous to how traditional utility
services (such as electricity) are consumed, while others bill on a subscription basis.
Sharing "perishable and intangible" computing power among multiple tenants can
improve utilization rates, as servers are not unnecessarily left idle (which can reduce
costs significantly while increasing the speed of application development).
           A side effect of this approach is that overall computer usage rises dramatically,
as customers do not have to engineer for peak load limits. Additionally, “increased high-
speed bandwidth" makes it possible to receive the same response times from centralized
infrastructure at other sites.
Ex: www.icloud.com

The cloud OS which we are supporting will be having


        1. File Explorer
        2. Document create, Edit and save capabilities
        3. User and log-in management
        4. Image and media file management
        5.Internal messaging and games etc.


        System Diagram
                             A, System diagram




               B, Cloud computing sample architecture


HARDWARE CONFIGURATION

    •   Intel Pentium IV
    •   256/512 MB RAM
    •   1 GB Free disk space or greater
    •   1 GB on Boot Drive
    •     17” XVGA display monitor
    •      1 Network Interface Card (NIC)




SOFTWARE CONFIGURATION
    •     MS Windows XP/2000
    •     MS IE Browser 6.0/later
    •     MS Dot Net Framework 2.0
    •     MS Visual Studio.Net 2005
    •     Internet Information Server (IIS)
    •     MS SQL Server 2000
    •     Windows Installer 3.1



        2 ARCHITECTURE DIAGRAM FOR CLOUDOS
3 DATAFLOW DIAGRAM (DFD)




System
Definition
                   4 MODULES


1.File Explorer:
File Explorer is a simple and intuitive file manager you can use to transfer, copy, rename,
delete and paste files but also to create folders, download or upload files and explore the
Cloud OS virtual filesystem.
CloudFiles is the CloudOS file manager. From CloudFiles you can upload your files and
documents from your hard drive to CloudOS, move and manage them between different
instances of the application, and launch a wide variety of files to be reproduced/shown
with each specific application. To launch CloudFiles, just click on the Home icon on your
Desktop or open File Manager in the Office menu at CloudDock. Once you are on the
application, you will see three zones:
The left bar with the common Actions and Places.
● A top bar with the current path. You can use it to navigate by text trough your
Home space. Note that if you are root you will be able to navigate trough the
whole cloudOS virtual file system.
● The files space, where you will see all the files and folders inside your current
directory (by default, your Home directory).


2. Document create, Edit and save capabilities:


It’s a word processor that offers you a quick and efficient way to write and edit text,
HTML and Microsoft Word documents. Not only is Cloud Docs a pretty good HTML
editor, but it can also be used to paste text from other applications installed on your real
operating system.
CloudDocs is the CloudOS word processor. With Cloud Docs you can create and edit
rich documents in both CloudOS Document format or in Microsoft Word format.
3.2.1. Creating a document
To create a new document, open cloudDocs. You can do it from the Office menu in
CloudDock. A new document will appear, so you can start writing.
3.2.2. Saving a document
To save it, just click on “Save” or “Save As” button if you have not saved before the
document. Note that if you do not add any extension when saving your document, it will
be saved as an CloudOS Document, with the .Clouddoc extension. If you want to save it
to be Microsoft Word compatible, just add the .doc extension at the end of the file name.
3.2.3. Opening a document
To open a document, you can click on “Open” button in CloudDocs or just click on the
document from the file manager (CloudFiles).


3. User and log-in management:


In Cloud os can Provide the services for access any information using him/her account
Otherwise We can’t Access any imformation From these Cloud Space. Then User can be
created More than one account In Cloud Operating System Then User login using
his/her account and In Cloud Os Provide the strong security based on XML Technique .
For Using the Admin account can’t view ,delete,modify the any other account details
because in Cloud Os all account details are encrypted using XML Based Technique.
The General menu inside the Administration panel allows you to update some system's
option such as the System's host name (that appears as the browser's title after the
username), and some options such as allowing new users to register in your system,
allowing public directories to be created, the system's default language and the Login's
box theme that is being used.


To update some of the options, just change their values to the new ones and click on
the “Save changes” button. Note that you can also completely uninstall your Cloud OS
from that panel, by typing your root's password and clicking on “Uninstall Cloud
OS” button. This is useful when you want to completely remove your Cloud OS
installation and you can't do it due to the permissions assigned to Cloud OS files during
the Installation.




4. Image and media file management:
If a file is recognized by CloudOS and is associated to an installed application, you can
just click on the file without any action selected Action, and the appropiate application
will be launched opening the file.
Some file types that will be recognized by CloudOS by default are:
● Images (.bmp, .png, .jpg, .jpeg, .gif, .tiff) will be opened with the CloudOS
Image Viewer.
● MP3 Music files (.mp3) will be opened with the CloudOS Music Player.
● Videos and movies (.flv, .avi, .divx...) will be opened with CloudVideo or
CloudMovies, depending if the DivX plugin is needed or not.
● Microsoft Word Documents (.doc) and CloudOS Documents (.Clouddoc) will be
opened with CloudDocs, the CloudOS Word Processor.
● Compressed files (.zip, .tar, .tbz, .tbz2, .tgz, .tar.gz, .tar.bz2) will be opened
with CloudArchive, the CloudOS compressing and uncompressing tool.
● Text files (.Cloudcode, .txt, .py, .pl, .c, .cc) will be opened with CloudNotes.
● CloudPackages, the cloudOS installable packages (.Cloudpackage) will be opened with
CloudInstaller, but only if you are logged in as roo


5. Calculator and games etc :


obviously, a calculator, that you can use the same way you are using any other calculator.
Some important functions, such as %, are missing, but it's quite useful when you really
need to do some quick and basic calculations.
In Cloud Platform Provide a very nice chess game, which you can play if you're bored or
just to ...exercise your brain!.




                           5 SOFTWARE FEATURES
5.1 Overview of the .NET Framework
The Microsoft .NET Framework is an integrated and managed environment for the
development and execution of the code. It manages all aspects of a program’s execution.
It allocates memory for the storage of data and instructions, grants or denies the
appropriate permissions to your application, initiates and manages application execution,
and manages the reallocation of memory from resources that are no longer needed.
The .NET Framework consists of two main components:
      The common language runtime.
      The .NET Framework class library.
The common language runtime can be thought of as the environment that manages code
execution. It provides core services, such as code compilation, memory allocation, thread
management, and garbage collection. Through the common type system (CTS), it
enforces strict type-safety and ensures that code is executed in a safe environment by also
enforcing code access security.
The .NET Framework class library provides a collection of useful and reusable types that
are designed to integrate with the common language runtime. The types provided by the
.NET Framework are object-oriented and fully extensible, and they allow the user to
seamlessly integrate applications with the .NET Framework.
Languages and the .NET Framework
       The .NET Framework is designed for cross-language compatibility, which means,
simply, that .NET components can interact with each other no matter what supported
language they were written in originally. So, an application written in Microsoft Visual
Basic .NET might reference a dynamic-link library (DLL) file written in Microsoft
Visual C#, which in turn might access a resource written in managed Microsoft Visual
C++ or any other .NET language. This language interoperability extends to full object-
oriented inheritance. A Visual Basic .NET class might be derived from a C# class, for
example, or vice versa.
       This level of cross-language compatibility is possible because of the common
language runtime. When a .NET application is compiled, it is converted from the
language in which it was written (Visual Basic .NET, C#, or any other .NET-compliant
language) to Microsoft Intermediate Language (MSIL or IL). MSIL is a low-level
language that the common language runtime can read and understand. Because all .NET
executables and DLLs exist as MSIL, they can freely interoperate. The Common
Language Specification (CLS) defines the minimum standards to which .NET language
compilers must conform. Thus, the CLS ensures that any source code successfully
compiled by a .NET compiler can interoperate with the .NET Framework.
The Structure of a .NET Application
       The primary unit of a .NET application is the assembly. An assembly is a self-
describing collection of code, resources, and metadata. The assembly manifest contains
information about what is contained within the assembly. The assembly manifest
provides:
    Identity information, such as the assembly’s name and version number.
    A list of all types exposed by the assembly.
    A list of other assemblies required by the assembly.
    A list of code access security instructions, including permissions required by the
       assembly and permissions to be denied the assembly.

Each assembly has one and only one assembly manifest, and it contains all the
description information for the assembly. An assembly contains one or more modules. A
module contains the code that makes up the application or library, and it contains
metadata that describes that code. When a project is compiled into an assembly, the code
is converted from high-level code to IL
Each module also contains a number of types. Types are templates that describe a set of
data encapsulation and functionality. There are two kinds of types:
      Reference types (classes).
      Value types (structures).

       A type can contain fields, properties, and methods, each of which should be
related to a common functionality. A field represents storage of a particular type of data.
Properties are similar to fields, but properties usually provide some kind of validation
when data is set or retrieved. Methods represent behavior, such as actions taken on data
stored within the class or changes to the user interface.
The .NET Base Class Library
       The .NET base class library is a collection of object-oriented types and interfaces
that provide object models and services for many of the complex programming tasks you
will face. Most of the types presented by the .NET base class library are fully extensible,
allowing the user to build types that incorporate with their own functionality into the
managed code.
       The .NET Framework base class library contains the base classes that provide
many of the services and objects needed when writing applications. The class library is
organized into namespaces. A namespace is a logical grouping of types that perform
related functions.
       Namespaces are logical groupings of related classes. The namespaces in the .NET
base class library are organized hierarchically. The root of the .NET Framework is the
System namespace. Other namespaces can be accessed with the period operator.
A typical namespace construction appears as follows:
      System
      System. Data
      System.Data.OLEDBClient

   The first example refers to the System namespace. The second refers to the System.
Data namespace. The third example refers to the System.Data.SQLClient namespace.
   The namespace names are self-descriptive by design. Straightforward names make
the .NET Framework easy to use and allows the user to get rapidly familiarize with its
contents.




Using .NET Framework Types in an Application
   When beginning to write an application, the user automatically begin with a reference
to the .NET Framework base class library. It is referenced so that the application is aware
of the base class library and is able to create instances of the types represented by it.
Value Types
       In Visual Basic .NET, the Dim statement is used to create a variable that
represents a value type.
Reference Types
       Creating an instance of a type is a two-step process. The first step is to declare the
variable as that type, which allocates the appropriate amount of memory for that variable
but does not actually create the object.
Nested Types
       Types can contain other types. Types within types are called nested types. Using
classes as an example, a nested class usually represents an object that the parent class
might need to create and manipulate, but which an external object would never need to
create independently.
Instantiating User-Defined Types
       A user can declare and instantiate a user-defined type the same way that he
declares and instantiate a .NET Framework type. For both value types (structures) and
reference types (classes), he needs to declare the variable as a variable of that type and
then create an instance of it with the New (new) keyword.


The Imports Statement
       To access a type in the .NET Framework base class library, the user has to use the
full name of the type, including every namespace to which it belonged. For example:
System.Windows.Forms.Form. This is called the fully-qualified name, meaning it refers
both to the class and to .the namespace in which it can be found.
       The development environment can be made “aware” of various namespaces by
using the Imports. This technique allows the user to refer to a type using only its generic
name and to omit the qualifying namespaces. Thus, you could refer to
System.Windows.Forms.Form as simply Form.




Referencing External Libraries
       There is some class libraries which are not contained by the .NET Framework,
such as libraries developed by third-party vendors or libraries you developed. To access
these external libraries, the user must create a reference.
Classes and Structures
Classes are templates for objects. They describe the kind and amount of data that an
object will contain, but they do not represent any particular instance of an object.


Members
       Classes describe the properties and behaviors of the objects they represent
through members. Members are methods, fields, properties, and events that belong to a
particular class. Fields and properties represent the data about an object.
       A method represents something the object can do, such as move forward or turn
on headlights. An event represents something interesting that happens to the object, such
as overheating or crashing.


Garbage Collection
       Because garbage collection does not occur in any specific order, it is impossible
to determine when a class’s destructor will be called.
       The .NET Framework provides automatic memory reclamation through the
garbage collector. The garbage collector is a low-priority thread that always runs in the
background of the application. When memory is scarce, the priority of the garbage
collector is elevated until sufficient resources are reclaimed.
       Because the user cannot be certain when an object will be garbage collected, he
should not rely on code in finalizes or destructors being run within any given time frame.
If he has resources that need to be reclaimed as quickly as possible, provide a Dispose ()
method that gets called explicitly.
       The garbage collector continuously traces the reference tree and disposes of
objects containing circular references to one another in addition to disposing of
unreferenced object


5.1.1 ADO.NET
        ActiveX Data Objects for the .NET framework (ADO.NET) is a set of classes that
expose data access services to the .NET programmer. ADO.NET provides a rich set of
components for creating distributed, data sharing applications.
        It is an integral part of .NET framework, providing access to relational data, XML
and application data. ADO.NET supports a variety of development needs, including the
creation of front end database, clients and middle tier business objects used by
applications, tools, languages or Internet browsers.
        ADO.NET provides consistent access to data source such as Microsoft Access, as
well as data sources expose via OLEDB and XML. Data sharing consumer application
can use ADO.NET to connect to these data sources and retrieve, manipulate and update
data.


5.1.2 ABOUT MICROSOFT ASP .NET
 MICROSOFT RELEASED the .NET Framework 1.0 Technology preview in July
2000; it was immediately clear the Web development was going to change. The
company’s then current technology, Active Server Page 3.0(ASP), was powerful and
flexible, and it made the creation of dynamic Web sites easy. ASP spawned a whole
series of books, articles, Web sites, and components, all to make the development process
even easier. What ASP didn’t have, however, was an application framework; it was never
an enterprise development tool. Everything you did in ASP was code oriented you just
couldn’t get away without writing code. ASP.Net was designed to counter this problem.
        One of its key design goals was to make programming easier and quicker by
reducing the amount of code you have to create. Enter the declarative programming
model, a rich server control hierarchy with events, a large class library, and support for
large development tools from the humble notepad to the high-end Visual Studio.NET. All
in all ASP.NET was a huge leap forward. Much time you have to do it in. There is an
almost never-ending supply of features you can add, but at some stage you have to ship
the product. You cannot doubt that ASP.NET 1.0 shipped with an impressive array of
features, but the ASP.NET team members are ambitious, and they not only had plans of
their own but also listened to their users. ASP.NET 2.0 code-named “Whidbey”,
addresses the areas that both the development team and users wanted to improve. The
aims of the new version are listed below.
  ASP.NET provides a programming model and infrastructure that offers the need
services for programmers to develop Web-based applications. As ASP.NET is a part of
the .NET Framework, the programmers can make use of the managed Common
Language Runtime (CLR) environment, type safety, and inheritance etc to create Web-
based applications. You can develop your ASP>NET Web-based application in any .NET
complaint languages such as Microsoft Visual Basic, Visual C#, and Jscript.NET.
   ASP.NET offers a novel programming model and infrastructure that facilitates a
powerful new class of applications. Developers can effortlessly access the advantage of
these technologies, which consist of a managed Common Language Runtime
environment, type safety, inheritance, and so on. With the aid of Microsoft Visual Studio.


Web Forms:
           Permits us to build powerful forms–based Web pages. When building these
pages, we can use Web Forms controls to create common UI elements and program them
for common tasks. These controls permit us to rapidly build up a Web Form.
Web services:
          Enable the exchange of data in client-server scenarios, using standards like
HTTP, SOAP (Simple Object Access Protocol) and XML messaging to move data across
firewalls. XML provides meaning to data, and SOAP is the protocol that allows web
services to communicate easily with one another. Web services are not tied to a particular
component technology or object-calling convention. As a result, programs written in any
language, using any component model, and running on any operating system can access
Web services.




Why ASP.NET?
          Since 1995, Microsoft has been constantly working to shift its focus form
Windows-based platform to the Internet. As a result, Microsoft introduced ASP (Active
Server Pages) in November 1996. ASP offered the efficiency of ISAPI applications along
with a new level of simplicity that made it easy to understand and use. However, ASP
script was an interpreted script and consisted unstructured code and was difficult to
debug and maintain. As the web consists of many different technologies, software
integration for Web development was complicated and required to understand many
different technologies. Also, as applications grew bigger in size and became more
complex, the number of lines of source code in ASP applications increased dramatically
and was hard to maintain. Therefore, an architecture was needed that would allow
development of Web applications in a structured and consistent way.
            The .Net Framework was introduced with a vision to create globally
distributed software with Internet functionality and interoperability. The .NET
Framework consists of many class libraries, includes


5.1.3 C#.Net
      C# is an object-oriented programming language developed by Microsoft as part of
       the .Net initiative. C# is intended to be a simple, modern, general-purpose, object-
       oriented programming language. Because software robustness, durability and
       programmer productivity are important, the language should include strong type
       checking, array bounds checking, and detection of attempts to use uninitialized
       variables, source code portability, and automatic garbage collection.
      C# is intended to be suitable for writing applications for both hosted and
       embedded systems, ranging from the very large that use sophisticated operating
       systems, down to the very small having dedicated functions. C# applications are
       intended to be economical with regards to memory and processing power
       requirements. Programmer portability is the very important future of C#.
      C# compiler could generate machine code like traditional compilers of C++ or
       FORTRAN; in practice, all existing C# implementations target Common
       Language Infrastructure (CLI). C# is more type safe than C++. The only implicit
       conversions by default are those which are considered safe, such as widening of
       integers and conversion from a derived type to a base type.
      C# is the programming language that most directly reflects the underlying
       Common Language Infrastructure (CLI). Most of C# intrinsic types correspond to
      value-types implemented by the CLI framework. C# supports a strict Boolean
      type, bool Statements that take conditions, such as while and if, require an
      expression of a Boolean type.




FEATURES OF C#.NET
     The Visual Studio.Net is a tool rich programming environment containing all the
      functionality for handling C# projects.
     The .Net integrated development environment provides enormous advantages for
      the programmers.
     C# is directly related to C, C++ and Java. C # is a case sensitive language and it is
      designed to produce portable code.
     C# includes features that directly support the constituents of components such as
      properties, methods and events.
     C# is an object oriented language which supports all object oriented programming
      (OOP’s) concepts such as encapsulation, polymorphism and inheritance.
     Encapsulation is a programming mechanism that binds code and the data together.
      It manipulates and keeps both safe from outside interference and misuse.
     Polymorphism is the quality that allows one interface to access a general class of
      action.
     Inheritance is the process by which one object can acquire the properties of
      another object.
     Intelligence displays the name of every members of a class.
     C# allows us for creating both managed and unmanaged applications.
     Interoperability, simplicity, performance, cross language integration and language
      independent are important features of C#.
     Multiple inheritances are not supported, although a class can implement any
      number of interfaces.
     There are no global variables or functions. All methods and members must be
      declared within classes.
C# Data Types
1.       Static variables
2.       Variable of instance
3.       Array's elements
4.       Parameters given by reference
5.       Parameters given by value
6.       Returned values
7.       Local variables.


Constants in C#:
Constant type of data cannot be changed. To declare a constant the keyword const is
used. An example for the constant declaration is: const double PI = 3.1415;
Values types in C#:
Value type stores real data. When the data are queried by different function a local copy
of it these memory cells are created. It guarantees that changes made to our data in one
function don't change them in some other function.
Common types in C#:
        Object in C# language is universal; it means that all supported types are derived
         from it. It contains only a couple of methods: Get Type () - returns a type of
         object, To String () returns string equivalent of type that called.
        Next type is class. It is declared in the same manner as structure type but it has
         more advanced features.
        Interface is an abstract type. It is used only for declaring type with some abstract
         members. It means members without implementations. Please, have a look at
         piece of code with a declaration for a simple interface:


OOP & C#:
All the programming languages supporting object oriented Programming will be
supporting these three main concepts:
1.       Encapsulation
2.        Inheritance
3.        Polymorphism


Encapsulation:
  Encapsulation is process of keeping data and methods together inside objects. In this
way developer must define some methods of objects interaction. In C#, encapsulation is
realized through the classes. A Class can contain data structures and methods. .


Inheritance:
Inheritance is the process of creation new classes from already existing classes. The
inheritance feature allows us to reuse some parts of code. Constructor also inherits base
class constructor. We can inherit all the members that has access modifier higher than
protected class.


Polymorphism:
  Polymorphism is possibility to change behavior with objects depending of object’s data
type. In C# polymorphism realizes through the using of keyword virtual and override.
The runtime keeps record of all the virtual function details in a table called VMT
(Virtual Method Table) and then in runtime dynamically picks the correct version of the
function to be used.


Namespaces:
  A Namespace in Microsoft .Net is like containers of objects. They may contain unions,
classes, structures, interfaces, enumerators and delegates. Main goal of using namespace
in .Net is for creating a hierarchical organization of program. In this case a developer
does not need to worry about the naming conflicts of classes, functions, variables etc.,
inside a project
     In Microsoft .Net, every program is created with a default namespace. This default
namespace is called as global namespace. But the program itself can declare any number
of namespaces, each of them with a unique name. The advantage is that every namespace
can contain any number of classes, functions, variables and also namespaces etc., whose
names are unique only inside the namespace. The members with the same name can be
created in some other namespace without any compiler complaints from Microsoft .Net.
To declare namespace C# .Net has a reserved keyword namespace. If a new project is
created in Visual Studio .NET it automatically adds some global namespaces. These
namespaces can be different in different projects. But each of them should be placed
under the base namespace System. The names space must be added and used through the
using operator, if used in a different project.


Exceptions
Practically any program including c# .net can have some amount of errors. They can be
broadly classified as compile-time errors and runtime errors. Compile-time errors are
errors that can be found during compilation process of source code. Most of them are
syntax errors. Runtime errors happen when program is running.


Exceptions in C# can be called using two methods:
1. Using the throw operator. It call the manage code anyway and process an exception.
2. If using the operators goes awry, it can generate an exception.


C# language uses many types of exceptions, which are defined in special classes. All of
them are inherited from base class named System. Exception. There are classes that
process many kinds of exceptions: out of memory exception, stack overflow exception,
null reference exception, index out of range exception, invalid cast exception, arithmetic
exception etc. This c# tutorial deals with DivideByZero c# exception and custom classes
in c# exceptions.
  C# has defined some keywords for processing exceptions. The most important are try,
catch and finally.


Interfaces
An Interface is a reference type and it contains only abstract members. Interface's
members can be Events, Methods, Properties and Indexers. But the interface contains
only declaration for its members. Any implementation must be placed in class that
realizes them. The interface can't contain constants, data fields, constructors, destructors
and static members. All the member declarations inside interface are implicitly public.


5.2 FEATURES OF WINDOWS XP
       The major feature of the Windows XPprofessional
              Reliable
              Easy to use and Maintain
              Internet Ready

Windows File protection
       Protects core system files from being overwritten by application installs. In the
event a file is overwritten, Windows File Protection will replace that file with the correct
version. By safeguarding system files in this manner, Windows XP mitigates many
common system failures found in earlier versions of windows.
Driver Certification
       Provides safeguards and assure that device drivers have not been tampered with
and reducing the risk of installing non-certified drivers.
Full 32-bit Operating System
       Minimizes the chance of application failures and unplanned reboots.
Microsoft Installer
       Works with the Windows Installer service, helping users install, configure, track,
upgrade, and remove software programs correctly, minimizing the risks of user error and
possible loss of productivity.
System Preparation Tool (SysPrep)
       Help administrator clone computer configurations, systems, and applications,
resulting in simplifier, faster, more cost-effective deployment.
Remote OS Installation
       Permits Windows XP Professional to be installed across the network (including
SysPrep images). Remote OS Installation saves time and reduces deployment.
Multilingual Support
       Allows users to easily create, read, and edit documents in hundreds of languages.
Faster Performance
       Provides 25 percent faster performance than Widows 95 and Windows 98 on
system with 64 megabytes (MB) or more of memory.
Faster Multitasking
       Uses a full 32-bit architecture, allowing you to run more programs and perform
more tasks at the same time than Windows 95 or Windows 98.
Scalable Memory and Processor Support
       Supports up to 4 gigabytes (GB) of RAM and up to two symmetric
multiprocessors.


Peer-to-Peer Support for windows 95/98 and Windows NT
       Enables windows 2000 professional to interoperate with earlier versions of
Windows on a peer-to-peer level, allowing the sharing of all resources, such as folders,
printers and peripherals.


5.3 Internet Information Services (IIS) 5.0
       Includes web and FTP server support, as well as support for Front Page
transactions, Active server Pages, and database connections. Available as an optional
component, IIS 5.0 is installed automatically for those upgrading from versions of
Windows with Personal Web Server installed.
Search Bar
       Helps user to quickly search for different types of information, such as Web pages
or people addresses. And choose which search engine you want to use – all from one
location.
History Bar
Helps user to find the way back to sites viewed in the past. The History bar not only
tracks Web sites, but also intranet sites, network servers and local folders.


Strong Development Platform
       Support for Dynamic HTML Behaviors and XML gives developers the broadest
range of options – with the fastest development time.
5.4 SQL SERVER 2005
        The SQL server web data administrator enables us to easily manage our SQL
Server data, wherever we are using its built-in features, we can do the following from
Microsoft Internet Explorer or our favorite web browser. Microsoft SQL Server 2000
introduces several server improvements and new features:
5.5 XML Support
       The relational database engine can return data as Extensible Markup Language
(XML) documents. Additionally, XML can also be used to insert, update, and delete
values in the database.
 Federated Database Servers
       SQL Server 2000 supports enhancements to distributed partitioned views that
allow you to partition tables horizontally across multiple servers. This allows you to scale
out one database server to a group of database servers that cooperate to provide the same
performance levels as a cluster of database servers. This group, or federation, of database
servers can support the data storage requirements of the largest Web sites and enterprise
data processing systems.
       SQL Server 2000 introduces Net-Library support for Virtual Interface
Architecture (VIA) system-area networks that provide high-speed connectivity between
servers, such as between application servers and database servers.

5.6 ASP.Net AJAX Cloud Platform
      This is a virtual OS on cloud, which will allow us to host different services and
applications which will allow user to perform day to day life computing tasks.This
platform is developed in ASP. Net AJAX technology which will allow asynchronous
web requests to the server.



      6 SPECIAL FEATURES OF LANGUAGE/UTILITY

6.1 .NET FRAMEWORK
       The .Net Framework is essentially a combination of the common language
runtime (CLR) and the standard classes that are available to .NET programmers. The
CLR is the execution environment for all programs in the .NET framework. It’s similar in
nature to the java virtual machine (JVM). The runtime classes provide hundreds of
prewritten services that clients can use as the basic building blocks for an application.


6.2 FEATURES OF COMMON LANGUAGE RUNTIME (CLR)


   CONSISTENT PROGRAMMING MODEL
       All application services are offered through a common object (OOPS).


   SIMPLIFIED PROGRAMMING MODEL
       There is no API(Application Programming Interface).


   DLL PROBLEMS [DYNAMIC LINKING LIBRARY]
       .Net architecture removes the common problems caused by DLL versions.


    PLATFORMS
       .Net application consists of managed code that can execute on any platform that
supports the .Net CLR.


REUSE OF CODE/LANGUAGE INTEGRATION


       .Net allows languages to be integrated with one another.
       It is possible to create a class in C# that derives from a class first implemented in
VB.net.


 TYPES
       .Net CLR verifies that all code is type safe.
6.3 ERROR HANDLING


           All errors are reported as exceptions, which simplifies code maintain.
OBJECT ORIENTED PROGRAMMING


             VB.NET allows developers to make use of object oriented features such as
classes, interfaces, inheritance and polymorphism. The main advantage of this is code
reuse. Code need no be built every time from scratch, but instead can be built upon
existing components thus saving time and effort for the developer.


STRUCTURED ERROR HANDLING


                Errors are bound to occur in a program no matter how careful the
developer is during program development. Errors can be handled in VB.NET in a more
systematic and structured manner through the use of exceptions.


MULTITHREADING


                    In a multithreading environment, each process is broken into one or
more threads. These threads when executed by the processor can sometimes cause
problems. This especially when multiple threads try to access shared data.


      For example, a simple code like x=x+1 may fail if multiple threads attempt to
execute if simultaneously and x happens to be a shared variable among the threads. This
can be avoided if only the programmer manages the threads through the program.
VB.NET allows programmers to synchronize threads from within a program which
ultimately improves the performance of the program.




6.4 Hands-on Labs Session

  In this Hands-on Lab session, as mentioned above, it’s assumed that you have installed
WindowsXP/Vista/7/2k3/2k8 or know how to install one. Next you will learn how to
install XAMPP server forWindows, which gives you a head start when it comes to
dealing with integrated Apache, MySQL andPHP (or LAMP) configuration, which
removes failure that is common when installing applications thatrequire it. Next, you’ll
learn how to configure MySQL and use it to create "eyeos" database, required forinstalling
CloudOS cloud computing operating system. You’ll also learn how to install and
configure the pre-requisites and the required packages for smooth eyeOS installation.
Next, I’ll show you via step-by-stephow to install eyeOS on a Windows machine, in our
case Win2k3, and how to secure it. I’ll also take youthrough the process of creating your
first documents, handling calendaring etc. Finally you’ll have anopportunity to do the
Hands-on Labs assignments to test what you have learned in this hands-on labsession.
Once you’re done with this lab session you should have gained an experience and
capability toenable you to plan design implement and deploy a secure CloudOS cloud
computing environment for yourpersonal or network infrastructure for your organization.
It’s also highly recommended that you install afirewall to protect your CloudOS network
environment.


6.5 PHP LANGUAGE:


PHP is a server-side scripting language for creating dynamic Web pages. PHP's
programming syntax is very similar to that of Perl. Because of its elegant design, PHP
makes it easy for anyone to learn. It is significantly easier than comparable Perl or ASP
Code. Unlike other scripting languages, PHP supports the most common databases like
Oracle, Sybase and MySQL. It is also possible to integrate external libraries to generate
PDF documents or parsing XML PHP is an open-source language and is supported by a
large groups of delvelopers. The code is downloadable from php.net. PHP is a server-side
HTML embedded scripting language. It provides web developers with a full suite of tools
for building dynamic websites: native APIs to Apache and other web servers; easy access
to MySQL, Sybase, Oracle, and other databases; IMAP; LDAP; HTTP headers and
cookies. This site is the official home of PHP4.
PHP and MySQL combine to be an easy yet powerful way to create dynamic web pages
that actually interact with your visitors. HTML can create useful and well formatted web
pages. With the addition of PHP and MySQL you can collect data from your users, create
specific content on the fly, and do many other things that HTML alone can't do. The
beauty of PHP as a language is that it is designed to be used along with HTML. You can
use PHP right inside your already existing HTML content, or put HTML tags right inside
your PHP coding. When learning PHP you are not making your existing HTML
knowledge obsolete, you are instead adding to it to give it more functions and abilities.


6.6 What Is MySQL?

MySQL is a relational database management system. It is a Open Source SQL database
provided by MySQL AB. MySQL is very fast, reliable, and easy to use. It also has a very
practical set of features developed in very close cooperation with our users. MySQL was
originally developed to handle very large databases much faster than existing solutions
and has been successfully used in highly demanding production environments for several
years. Though under constant development, MySQL today offers a rich and very useful
set of functions. The connectivity, speed, and security make MySQL highly suited for
accessing databases on the Internet.



                            7 SYSTEM ANALYSIS


7.1 PACKAGES SELECTED
.Net Capabilities
                          Console Based Application (Notepad)
                          Windows Application (GUI)
                          Web Application
Windows Based Application (GUI)
Every windows based application has two parts
                          User Interface
                          Program
User Interface
             A user interface is the screen through which the user interacts with the
application. Thus for any application to be successful it needs to have a good user
interface.


Program
             A program is a set of instructions that are used to carry out a specific task.
Console applications a created using VB.NET consists mainly of programs and no user
interface.


Class Library
         Everything in the .NET framework is a class or an instance of a class. One of the
main components of the .NET framework is the Class library. Class libraries are a
collection of reusable classes or types. Some of the classes are form class, textbox class,
button class, label class, listbox class, combobox lass and checkbox class.
              In VB.NET, data members that describe an object are called properties. The
members which describe object behaviour are called methods.


Properties
      Properties are used in classes to denote read-only values. Values that once set
cannot be changed and values that can be read as well as changed. Properties may also be
used to expose the value of private data of an object manner.
      Properties are an extension of variables. They do not denote storage locations but
instead have assessors which specify statements that can be executed to assign or retrieve
values to or from the property.
      A Set accessor in a property declaration is used to assign values and a Get accessor
is used to retrieve values of the property.
Example
      public property myval() as Integer
               Get
                         myval=a
               End Get
               Set(Byval Value as Integer)
                      a=Value
               End Set
       End Property


Moreover, properties are classified into following three types.


Write Only properties


            Write Only properties must have a Set accessor, and the Get accessor may be
omitted. These types of properties may be used when the value of the property is likely to
change.


Read Only properties


            Read Only properties must have a Get accessor, however the Set accessor
should be omitted.


ReadWrite properties


           ReadWrite properties must have a Get accessor as well as Set accessor.




7.2 RESOURCES REQUIRED
       In project management terminology, resources are required to carry out the
project tasks. They can be people, equipment, facilities, funding, or anything else capable
of definition (usually other than labour) required for the completion of a project activity.
The lack of a resource will therefore be a constraint on the completion of the project
activity. Resources may be storable or non storable. Storable resources remain available
unless depleted by usage, and may be replenished by project tasks which produce them.
Non-storable resources must be renewed for each time period, even if not utilised in
previous time periods.Resource scheduling, availability and optimisation are considered
key to successful project management.


       Allocation of limited resources is based on the priority given to each of the project
activities. Their priority is calculated using the Critical path method and heuristic
analysis. For a case with a constraint on the number of resources, the objective is to
create the most efficient schedule possible - minimising project duration and maximising
the use of the resources available.


       Many of the resources required should already be listed in the Business Case,
Terms of Reference and Project Plan. For a small project it is sufficient to take each
activity listed in the Project Plan and assign a resource to it. This can be done using a
program like Microsoft Project.


       For larger or more complex projects a full Resource Plan may be needed to ensure
that the type and amount of resources, and the schedules for their use are accurately
identified. The next section describes the creation of a Resource Plan in greater detail.




7.3 FEASIBILITY STUDY
       It is wise to think about the feasibility of any problem we undertake. Feasibility is
the study of impact, which happens in the organization by the development of a system.
The impact can be either positive or negative.


       When the positive dominates the negatives, then the system is considered feasible.
Here the feasibility study can be performed in three ways such as technical feasibility,
economic, feasibility and operational feasibility.


7.3.1 TECHNICAL FEASIBILITY
       Technical feasibility is a measure of the how practical solutions are and whether
the technology is already within the organization. If the technology is not available to the
firm, technical feasibility also looks at whether it can be acquired.Our proposed system is
technically feasible since all the methods and equipments used in our project are popular.
So, they can be easily implemented without any difficulties.


7.3.2 ECONOMIC FEASIBILITY
       Economic feasibility is a measure of the cost-effectiveness of a project or
solution. It is a measure of whether a solution will pay for itself or how profitable a
solution will be. This is often called a cost-benefit analysis.Our proposed system is
economically feasible since the developed application is not most expensive since all the
requirements are low cost.


7.3.3 OPERATIONAL FEASIBILITY
       Operation feasibility is a measure of how well the solution will work in the
organization. It is also a measure of how people feel about the system project.Our
proposed system is operationally feasible since the functions of the organization improve
the work efficiency of the staff and they provide better patience.



                               8 Database Design
Data in table user_login_registration




                       9 UML DIAGRAMS


9.1 Use Case Diagram
                                                  System

                            Login




                         File explorer




                       Manage Document


      User


                    Manage image and media file




                           Calculator




                             Games




9.2 Class Diagram
9.3 Sequence Diagram
        User                              Server                     Database



                      1 : login()              2 : verify with database()



                                    3 : get response()

               4 : can use any services()




                                               5 : processes()


                     6 : get reply()

                     7 : signout()




9.4 Collaboration Diagram
                                                             5 : processes()
                   2 : verify with database()
   Database                                       Server




                                        1 : login()
   3 : get response()               4 : can use any services()
                                    6 : get reply()
                                7 : signout()




    User




9.5 ACTIVITY DIAGRAM




                                  10 SAMPLE CODE
HOME PAGE LOAD

define('EYE_ROOT','.');
define('REAL_EYE_ROOT','cloudos');
define('SYSTEM_DIR','system');
define('KERNEL_DIR','kernel');
define('SERVICE_DIR','services');
define('LIB_DIR','lib');
define('APP_DIR','apps');
define('USERS_DIR','users');
define('CONF_USER_DIR','conf');
define('FILES_USER_DIR','files');
define('TMP_USER_DIR','tmp');
define('SHARE_USER_DIR','share');
define('PUBLIC_USER_DIR','public');
define('THEMES_DIR',APP_DIR.'/'.'eyeX'.'/'.'themes'); //DEPRECATED
define('SYSTEM_CONF_DIR','conf');
define('APP_CONF_SHARE','share');
define('EXTERN_DIR','extern');
define('TRASH_USER_DIR','trash');
define('ACCOUNT_DIR','accounts');
define('GROUPS_DIR','groups');
define('FILES_GROUP_DIR','files');
define('CONF_GROUP_DIR','conf');
//eyeOS file extensions
define('EYEOS_INFO_EXT','eyeInfo');
define('EYEOS_FILE_EXT','eyeFile');
define('EYEOS_LINK_EXT','eyeLink');
define('EYE_CODE_EXTENSION','.eyecode');
define('EYEOS_TRASH_EXT','eyeTrash');
//vfs module to use
define('VFS_MODULE','virtual');


//um module to use
define('UM_MODULE','eyeos');


//The real god of eyeOS users, master of masters
define('REAL_ROOTUSER','root');


//Extras
define('FORCE_NOUTF8',0);
define('EYEOS_TMP_DIR','tmp');
define('EYEOS_VERSION','1.8.7.1');
define('XML_COMPAT',1);
define('XML_PARSER','expat');
define('ACL_SUPPORT',1);
//eyeDialog that defines should be moved to another place desinged for it.
define('EYEDIALOG_TYPE_OPENFILE', 0);
define('EYEDIALOG_TYPE_SAVEFILE', 1);
define('EYEDIALOG_TYPE_SELECTFOLDER', 2);
define('CHECK_MOBILE',1);
?>


MEDIA PLAYER
<package>
       <name>eyeMedia</name>
       <category>Multimedia</category>
       <version>1.8</version>
       <description>eyeOS Media Player</description>
       <author>eyeOS Team</author>
       <license>AGPL</license>
      <type>Application</type>
      <icon>index.php?theme=1&amp;extern=icons/48x48/eyeMedia.png</icon>
      <openWith>1</openWith>
</package>


function eyeMedia_run($params=null) {
      global $checknum;
      global $myPid;


      $wndMediaVault = new Window(array(
             'name'=>'eyeMedia_WND',
             'title'=>'Media Player',
             'father'=>'eyeApps',
             'type'=>NORMAL_WINDOW,
             'sendResizeMsg'=>1,
             'sigResize'=>'WNDResize',
             'width'=>650,
             'height'=>300,
             'x'=>20,
             'y'=>20,
             'cent'=>1,
             //'showDragContent'=>1,
             'savePosition'=>1
      ));
      $wndMediaVault->show();


      $conContainer = new Container(array(
             'name'=>'eyeMedia_conContainer',
             'father'=>'eyeMedia_WND_Content',
             'width'=>$wndMediaVault->width-15,
             'height'=>$wndMediaVault->height-100,
      'x'=>5,
      'y'=>65
));
$conContainer->show();


$hdnStatus = new Hidden(array(
      'name'=>'eyeMedia_hdnStatus',
      'father'=>'eyeMedia_conContainer',
      'text'=>'null'
));
$hdnStatus->show();


$hdnShuffle = new Hidden(array(
      'name'=>'eyeMedia_hdnShuffle',
      'father'=>'eyeMedia_conContainer',
      'text'=>'0'
));
$hdnShuffle->show();


$hdnRepeat = new Hidden(array(
      'name'=>'eyeMedia_hdnRepeat',
      'father'=>'eyeMedia_conContainer',
      'text'=>'0'
));
$hdnRepeat->show();


$hdnPid = new Hidden(array(
      'name'=>'eyeMedia_hdnPid',
      'father'=>'eyeMedia_conContainer',
      'text'=>$myPid
));
$hdnPid->show();


//This is used to store the random number that will be used as a
//short URL to fetch the current file.
$hdnCurFile = new Hidden(array(
       'name'=>'eyeMedia_hdnCurFile',
       'father'=>'eyeMedia_conContainer',
       'text'=>'null'
));
$hdnCurFile->show();


/*
$btnVolDown = new Button(array(
       'name'=>'eyeMedia_btnVolDown',
       'father'=>'eyeMedia_conContainer',
       'caption'=>'-',
       'horiz'=>1,
       'height'=>18,
       'x'=>1,
       'y'=>5
));
$btnVolDown->show();
*/


$txtStatus = new Textbox(array(
       'name'=>'eyeMedia_txtStatus',
       'father'=>'eyeMedia_conContainer',
       'enabled'=>0,
       'width'=>$conContainer->width - 10, //50, (For vol button.)
       'x'=>5,
       'y'=>5
));
$txtStatus->setText('Nothing Playing.');
$txtStatus->show();


$sortypes = array("String");
$myHeader = array('Filename');
$tblPlaylist = new Sortabletable(array(
       'name'=>'eyeMedia_tblPlaylist',
       'father'=>'eyeMedia_conContainer',
       'sortypes'=>$sortypes,
       'theader'=>$myHeader,
       'master' => 0,
       'width'=>$conContainer->width - 8,
       'height'=>$conContainer->height-$txtStatus->height-25,
       'x'=>5,
       'y'=>$txtStatus->y+$txtStatus->height+20,
       'signal'=>'tblPlaylist_Click',
       'dblsignal'=>'tblPlaylist_DblClick'
));
$tblPlaylist->show();
// The table won't resize properly without explicitly initializing these values.
// Fixed in 1.8! :D
//$GLOBALS['eyeMedia_tblPlaylist']->setWidth($tblPlaylist->width);
//$GLOBALS['eyeMedia_tblPlaylist']->setHeight($tblPlaylist->height);


$tlbToolbar = new Toolbar(array(
       'name'=>'eyeMedia_tlbToolbar',
       'father'=>'eyeMedia_WND_Content'
));
$tlbToolbar->show();
       $tlbToolbar-
>addItem('tlbToolbar_Open_Folder','index.php?version='.EXTERN_CACHE_VERSION
.'&theme=1&extern=images/toolbar/newfolder.png','Add Folder');
       $tlbToolbar-
>addItem('tlbToolbar_Add_File','index.php?version='.EXTERN_CACHE_VERSION.'&t
heme=1&extern=images/toolbar/edit_add.png','Add File');
       $tlbToolbar-
>addItem('tlbToolbar_Remove_File','index.php?version='.EXTERN_CACHE_VERSIO
N.'&theme=1&extern=images/toolbar/edit_remove.png','Remove File', $tblPlaylist);
       $tlbToolbar-
>addItem('tlbToolbar_Clear','index.php?version='.EXTERN_CACHE_VERSION.'&the
me=1&extern=images/toolbar/editclear.png','Clear List');
       $tlbToolbar->addLine();
       $tlbToolbar-
>addItem('tlbToolbar_Play','index.php?version='.EXTERN_CACHE_VERSION.'&them
e=1&extern=images/toolbar/1rightarrow.png','Play', $txtStatus);
       $tlbToolbar-
>addItem('tlbToolbar_Stop','index.php?version='.EXTERN_CACHE_VERSION.'&them
e=1&extern=images/toolbar/button_cancel.png','Stop', $txtStatus);
       $tlbToolbar-
>addItem('tlbToolbar_Previous','index.php?version='.EXTERN_CACHE_VERSION.'&t
heme=1&extern=images/toolbar/previous.png','Previous', $tblPlaylist);
       $tlbToolbar-
>addItem('tlbToolbar_Next','index.php?version='.EXTERN_CACHE_VERSION.'&them
e=1&extern=images/toolbar/next.png','Next', $tblPlaylist);
       $tlbToolbar->addLine();
       $tlbToolbar-
>addItem('tlbToolbar_Repeat','index.php?version='.EXTERN_CACHE_VERSION.'&the
me=1&extern=images/toolbar/refresh.png','Repeat');
        $tlbToolbar-
>addItem('tlbToolbar_Shuffle','index.php?version='.EXTERN_CACHE_VERSION.'&th
eme=1&extern=images/toolbar/edit-undo.png','Shuffle');
        $tlbToolbar-
>addItem('tlbToolbar_Fullscreen','index.php?version='.EXTERN_CACHE_VERSION.'
&theme=1&extern=images/toolbar/fullScreen.png','Full Screen','',1);


        eyex('loadScript', array('url' =>
'index.php?version='.EXTERN_CACHE_VERSION.'&extern=apps/eyeMedia/js/eyeMed
ia' . EYE_CODE_EXTENSION . '&type=dynamic'));


        if ($params[0]) {


        include(EYE_ROOT.'/'.APP_DIR.'/eyeMedia/events'.EYE_CODE_EXTENSION
);
                $Open_File = str_replace(um('getCurrentUserDir').'files/', '/', $params[0]);
                $Open_File = str_replace('//', '/', $Open_File);
                // If more needs to be done when opening a file later on...
                //eyeMedia_on_Select_File(array('arg'=>array($Open_File)));
                $GLOBALS['eyeMedia_tblPlaylist']->addRow(array($Open_File));
                eyeX('rawjs',array('js'=>'setTimeout("eyeMedia_SelectFirst(' . $myPid . ',
1, ' . $checknum . ')",500);'));
        }
        }
function eyeMedia_end($params=null) {
        eyeWidgets('unserialize');
}
?>
                                      11 TESTING

       “No man is perfect” said a philosopher. Every human being is born with certain
imperfection and has to struggle to make himself performance “God Has made the world
imperfectly”, said a student of his guru, and he replied “Only to be made perfect by you”.
This is the case not with the human alone also with the system he has designed.
       The software, which has been developed, has to be tested to prove its validity.
Testing is considered to be the least creative phase of the least creative phase of the
whole cycle of system design. In the real sense it is the phase, which helps to bring out
the creativity of the other phases makes it shine.


TYPES OF TESTING DONE
       Testing forms a core part of any project. There are various types of testing are
there. In this system we are done following testing
                      White Box testing
                      Black Box testing
                      Unit Testing
                      Integration Testing
                      User Interface Testing


11.1 White Box testing
       White box testing, sometimes called glass-box, is a test case design method that
uses the control structure of the procedural design to derive test cases. Using white box
testing methods, we can derive test case that
      Guarantee that all independent paths with a module have been exercised at least
       once
      Exercise all logical decisions on their true and false sides
      Execute all loops at their boundaries and within their operational bounds and
      Exercise internal data structures to assure their validity
11.2 Black Box Testing
       Black box testing focuses on the functional requirements of the software. That is,
black box testing enables the software engineer to derive sets of input conditions that will
fully exercise all functional requirements for a program. Black box testing is not an
alternative to white box testing. Rather it is a complementary approach that is likely to
uncover a different class of errors than white box methods.


      Black box testing attempts to find errors in the following categories
      Incorrect or missing functions
      Interface errors
      Errors in data structures or external data base access
      Performance errors
      Initialization and termination errors


11.3 Unit testing
       Unit testing focuses verification effort on the smallest unit of software design the
module. Using the procedural design description as a guide, important control paths are
tested to uncover errors with the boundary of the module. The relative complexity of test
and uncovered errors is limited by the constrained scope established for unit testing. The
unit test is normally white box oriented and the step can be conducted in parallel for
multiple modules. The module interface is tested to ensure that information properly
flows into and out of the program unit under test. The local data structure is examined to
ensure that data stored temporarily maintains its integrity during all steps in an
algorithm’s execution. Boundary conditions are tested to ensure that the module operates
properly at boundaries established to limit or restrict processing.
Unit test procedures
       Unit testing is normally considered as an adjunct to the coding step. After source
level code has been developed, reviewed and verified for correct syntax, unit test case
design begins. A review of design information provides guidance for establishing test
cases that are likely to uncover all errors. Each test case should be coupled with a set of
expected results.
       Because a module is not a standalone program, deriver and /or stub software must
be developed for each unit test. In most applications a driver is nothing more than a
“main program” that accepts test case data, passes such data to the module (to be tested)
and brings relevant results. Stubs serve to replace modules that are subordinate to (called
by) the module to be tested. A stub or “dummy subprogram” uses the subordinate
module’s interface, may do minimal data manipulation, prints verification of entry, and
returns.
       Drivers and stubs represent overhead. That is both the software that must be
developed but that is not delivered with the final software Products drivers and stubs are
kept simple, actual overhead is relatively low.


11.4 User interface testing
       An interactive interface is a system that is dominated by interaction between the
system and external agents, such as humans, devices or others program. The external
agents are independent of the system, so their inputs cannot be controlled, although the
system may solicit response from them. An interactive interface usually includes only
part of an entire application, one that can often be handled independently from the
computational part of the application.The dynamic model dominates interactive
interfaces. Objects in the model represent interaction elements, such as input and output
tokens and presentation in response to input event sequences, but the internal structure of
the functions is usually unimportant to the behavior of the interface.
                            12 SYSTEMS OVERVIEW


The main aim of this project is to detect the guilt agent. The admin can maintain all the
detail like agent, fake object and guilt agent. Also this project is developed with the main
aim of reducing the time in a cost effective manner. Also the workload of the people
working in the organization is reduced, much.




                        INSTALLATION PROCEDURE


             Install visual basic .net 2005
             Establish Database Connection
             Verify the proper installation of common language runtime (CLR)
             Load the project
           Run the project
                         13 SCREENSHOTS

XAMPP(server) control panel




Start the server
Login page
If new user, create an account
Homepage




Calendar
Address Book




Word Processor
Spreadsheet




Text Editor
Chess Game




Tetravex Game
Upload Files




select an music file from hardrive to upload by localhost
Uploaded song




Select an image file to upload by localhost
Internal Messaging:
sending a message to another user




Another user
Message received




Create new folder or file
Sign Out
                      14 FUTURE ENHANCEMENT

       In future we can add more operating system capabilities to the cloud platform like
a command prompt, document editing and save in all Microsoft supported document
formats etc.




                                  CONCLUSION
       This cloud OS initiative will be a step stone to make more reliable, fast and
scalable cloud platform development in future. Cloud computing will be the next big
thing going to be on the internet world today.
                                      REFERENCES

        [1] B. Alexander, A. Attis, Y. Benkler, A. Cooley, P. Courant, J. Davis, G. Davis,
L. Faulkner, I. Fuchs, P. Gandel, C. Geith, P. Goldstein, B. Hawkins, R. Katz, A. Lane,
C. Lynch, M. Marlino, P. Mclean, D. Oblinger, L. O’Brien, M. Read, T. Sumner, J.
Unsworth, B. Wheeler, K. Woolsey, and R. Yanoski, The Tower and The Cloud: Higher
Education in the Age of Cloud Computing, R. N. Katz, Ed. Boulder, CO: EDUCASE,
2008.
        [2] D. Dagger, A. O’Connor, S. Lawless, E. Walsh, and V. P. Wade, “Service-
oriented e-learning platforms: From monolithic systems to flexible services,” IEEE
Internet Comput., vol. 11, no. 3, pp. 28–35, May/ Jun. 2007.


        [3] C. Fang and L. C. Sing, “Collaborative learning using service-oriented
architecture: A framework design,” Knowledge-Based Syst., vol. 22, no. 4, pp. 271–274,
2009.

								
To top