The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment of the present invention when read in conjunction with the accompanying drawings, wherein:
With reference now to the figures and in particular with reference to
With reference now to the figures,
In the depicted example, server 104 and server 106 connect to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 connect to network 102. These clients 110, 112, and 114 may be, for example, personal computers or network computers. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in this example. Network data processing system 100 may include additional servers, clients, and other devices not shown.
In the depicted example, network data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational and other computer systems that route data and messages. Of course, network data processing system 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
With reference now to
In the depicted example, data processing system 200 employs a hub architecture including a north bridge and memory controller hub (MCH) 202 and a south bridge and input/output (I/O) controller hub (ICH) 204. Processor 206, main memory 208, and graphics processor 210 are coupled to north bridge and memory controller hub 202. Graphics processor 210 may be coupled to the MCH through an accelerated graphics port (AGP), for example.
In the depicted example, local area network (LAN) adapter 212 is coupled to south bridge and I/O controller hub 204 and audio adapter 216, keyboard and mouse adapter 220, modem 222, read only memory (ROM) 224, universal serial bus (USB) ports and other communications ports 232, and PCI/PCIe devices 234 are coupled to south bridge and I/O controller hub 204 through bus 238, and hard disk drive (HDD) 226 and CD-ROM drive 230 are coupled to south bridge and I/O controller hub 204 through bus 240. PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not. ROM 224 may be, for example, a flash binary input/output system (BIOS). Hard disk drive 226 and CD-ROM drive 230 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. A super I/O (SIO) device 236 may be coupled to south bridge and I/O controller hub 204.
An operating system runs on processor 206 and coordinates and provides control of various components within data processing system 200 in
Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 226, and may be loaded into main memory 208 for execution by processor 206. The processes of the illustrative embodiments of the present invention may be performed by processor 206 using computer implemented instructions, which may be located in a memory such as, for example, main memory 208, read only memory 224, or in one or more peripheral devices.
The hardware in
In some illustrative examples, data processing system 200 may be a personal digital assistant (PDA), which is generally configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data. A bus system may be comprised of one or more buses, such as a system bus, an I/O bus and a PCI bus. Of course the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. A communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. A memory may be, for example, main memory 208 or a cache such as found in north bridge and memory controller hub 202. A processing unit may include one or more processors or CPUs. The depicted examples in
In the illustrative examples, server 104 may host a Wiki application. The environment at server 104 allows clients, such as clients 110, 112, and 114 to collaborate and develop applications in accordance with an illustrative embodiment of the present invention. These applications may include, for example, weather related applications, registrations and rosters for schools, e-mail applications, and other types of business oriented applications. The different embodiments may include processes at the server side, client side, or both sides in providing a collaborative environment to develop Wiki applications in accordance with an illustrative embodiment of the present invention.
The illustrative embodiments of the present invention recognize that current Wiki applications are not suited for collaborative development of applications beyond collaboration of text and files as a knowledgebase or document. Thus, illustrative embodiments of the present invention provide for a programmatic extraction of terms form the content of a Wiki application. These terms may be used as tags for a given page or set of pages. The tags can be used to search the Wiki in a more meaningful way, locating and better understanding and managing the information within the Wiki.
Turning now to
In particular, the different illustrative embodiments of the present invention provide a method and apparatus for a user to generate an application with functionality beyond functioning as a collaborative writing tool. Many of the features in these examples are provided through PHP. Depending on the particular implementation, the different features provided in the illustrative embodiments of the present invention may be facilitated through the use of a virtual machine, such as a Java virtual machine (JVM). Also, other scripting languages other than JavaScript may be used to implement these processes, depending on the particular embodiment. The user makes the request through a browser within client environment 300 in these examples.
Turning now to
This request is received by request handler 404 for processing. In these examples, one page is generated for each request handled by request handler 404.
Command processor 406 processes different commands to build a page in response to a request received by request handler 404. Additionally, command processor 406 renders the page when processing of commands and text fragments has completed. Page composer 408 also is involved in generating the page request by the user. In these examples, page composer 408 is employed in layouts, page body content, and script collection for a page.
Wiki environment 400 also includes ancillary functions 410. In this example, ancillary functions 410 contains lists 412, comments 414, email 416, and attachments 418. With lists 412, a user may generate lists for other users to see. Further, using comments 414, the user may add commentary or other text to different pages. Further, attachments 418 allows a user to attach files to a particular page. Email 416 allows for users to be notified when pages have been updated or modified.
Additionally, Wiki environment 400 contains Wiki commands 420. Wiki commands 420 contain two types of commands, built-in commands 422 and custom commands 424.
Built-in commands 422 are commands or services that are present within Wiki system 400. Custom commands 424 reference commands that are provided through exterior sources. Basically, these commands allow a user to include and process data for a page. Typically, Wiki commands 420 involve the use of service oriented architecture (SOA). These commands allow a user to include services with a page.
In these examples, the commands reference services with well defined interfaces that are independent of the applications and the competing platforms in which they run. In the depicted examples, the services are software modules. These types of services are typically based on a standard-compliant interface, such as web service description language (WSDL). Of course, the services referenced by Wiki commands 420 may involve any type of interface. These commands may take various forms. For example, the commands may be for financial, weather, mapping, news and events, searching, government, or international information.
Database 426, contains information, such as the pages requested and created by users. Further, revisions of pages, attachments, comments, and other information are stored within database 426. Information is typically stored in the form of tables 428 within database 426 in the illustrative embodiments of the present invention.
Turning now to
The programming architecture and model illustrated in these illustrative embodiments of the present invention allow for visual assembly of Wiki content using a browser on a client. Everything requested by a client is conceptually a page. For example, a variable is referenced using a universal resource identifier model, such as including a page and variable name. Further, pages are used as data structures in these examples. Variables are stored for later use. These variables include session variables, request variables, and persistent variables. In the illustrative examples, users create structured data through lists. These lists may be queried, searched, and/or combined. In manipulating lists, the users employ a create, retrieve, update, and delete (CRUD) process. These illustrative embodiments of the present invention also provide simple decorative and automatic wiring models based on metadata.
Wiki controller 500 receives universal resource identifier 506 from a user. Wiki controller 500 contains router 502 and object variables 504. Router 502 delegates request processing to the appropriate request handler. Object variables 504 provide interconnection between the processing components. For example, Wiki controller 500 has object variable 504 “Wiki” which is a pointer to Wiki object 508. Each object in
In response to receiving universal resource identifier 506, Wiki controller 500 instantiates an instance of Wiki object 508. As illustrated, Wiki object 508 contains object variables 510, variables 512, PHP security 514, email check 516, user 518 and page 520. Wiki object 508 is an instance that is always instantiated whenever a request is received. This object acts as a repository for all of the objects used to generate content for page 520.
In these examples, object variable 510 contains the information needed to process page 520. Variables 512 contain session information stored in session 522. This session information is information used only during user interaction with a page or during the generation of a page in these examples. More persistent data in object variables 510 are stored in database 524. Database 524 stores any information that may be used to generate the page or to store changes made by a user in the depicted examples.
PHP security 514 is a function used to determine whether code identified by a client may be run as well as initiating running the code. PHP is an open source programming language that is mainly employed on server side applications. In these illustrative examples, PHP code may be executed by different objects within the Wiki environment. In these examples, a user may run PHP code from the client side. Email check 516 is provided in Wiki object 508 to check for email messages that may be displayed on page 520 when page 520 is rendered and sent to a user. User 518 contains information about the user. For example, privilege levels, the identification of a user, and log of the session may be stored in user 518 within Wiki object 508.
Page 526 is a more detailed example of page 520 contained within Wiki object 508. In this example, page 526 contains object variables 528, attachments 530, process 532, access 534, layout 536, scripts 538 and content 540. In these examples, object variables 528 contain an instance of variables for page data structures. For example, a section array may be present to provide for layout information. A context pointer may point to a root Wiki command. An instance ID may be present in object variables 528 to point to an internal page ID. These different variables contain information needed to render page 526 to be sent to a user.
Attachments 530 are identifications of attachments that may be presented on a page. If the user selects an attachment, the attachment can then be downloaded to the user at that time. Process 532 contains the code used to generate the page to be delivered to the user. In these examples, the process is a method, for example, to identify content for the page, identify any attachments and identify any scripts that may be included in the page to be sent to the user.
Access 534 is used to determine what access the user has to content to be placed on the page. This access is identified through access control lists (ACLs) 542. The content may vary for page 526 depending on the access that the particular user has. This user is the user requesting page 526. In generating content for page 526, object variable 528 references Wiki command context 544. This command context contains object variables 546 and content 548. Object variables 546 represent the in-memory version of a page's contents. These variables include a list of the commands and a list of text fragments that comprise the current page. Content 548 represents the object methods used to manipulate the page content.
In executing process 532 in page 526, a set of commands from commands 550 are identified through Wiki command context 544. Wiki command context 544 generates a set of command instances from commands 550. Wiki command context 544 parses the page content 540 and loads the commands to create a tree structure of fragments, such as fragment 552. Fragment 552 also contains object variables 554 and content 556. Fragment 552 is a portion of page 526 in its raw un-rendered form. In this example, Wiki command context 544 contains fragments that represent the structure of the commands that are to be included in the page. These are commands that may be manipulated by the user. When process 532 is complete, page 526 is sent down to the user. Data hub 558 is saved for later in the interaction. Also, in this example, data hub 558 is restored when a user interacts with a component within page 526. The data hub contains processes and a data structure. The processes are used to identify what commands for a page within fragment 552 are consumers of any data or commands that may be received by data hub 558. Additionally, data hub 558 will return results to the client. These results are sent to a data hub located on the client.
Turning now to
In this example, different types of content are found within body 614. In this example, body 614 contains HTML content 616, date information 618, and variable 620. Additionally, body 614 also contains commands 622, 624, 626, 628, 630, and 632. These commands are commands for a Wiki application presented through page 602. Additionally, body 614 also includes data hub 634. Data hub 634 is similar to the data hub in a Wiki environment, such as data hub 558 in
Commands 622, 624, 626, 628, 630, and 632 along with data hub 634 provide for dynamic content within page 602.
The illustration of the different types of content within page 602 is presented for purposes of illustrating the manner in which a Wiki application may be presented to a user. This illustration, however, is not meant to imply limitations as to the type and scope of content that may be used in a Wiki application.
A user may manipulate content within page 602 to use the Wiki application. Further, the user may manipulate the content to change the manner in which the Wiki application performs. In other words, the user may add content, such as additional commands or remove commands from page 602 through manipulating graphical representation of these commands to generate or modify content and/or functionality for page 602.
Frequently, when using a Wiki application to aggregate and define content, information becomes lost within the Wiki application. The users are no longer able to find necessary data, simple text searches do not work and the Wiki application quickly spirals out of control. Even in an active, established Wiki application with many pages, users may experience difficulty in getting a sense of what a page or set of pages is about.
Illustrative embodiments of the present invention provide a programmatic term extraction and categorization technique. Programmatic means performed by a computer program. The technique is programmatic in that the terms are extracted from the content by a computer program rather than by a human. A term is a word or expression that has a precise meaning in a given context. The terms in turn, serve to categorize the content of the Wiki page or set of pages. For example, if the term football appeared on a page, that page would be categorized as relating to football.
The technique both gives a user a sense of what a Wiki page or set of Wiki pages is about and suggests likely and appropriate tag candidates. A Wiki page is a page in a Wiki application. Tags are labels that are used to categorize content of a Wiki. Some examples of tags could be football, radio, television, models, and so forth.
The Wiki application is scanned and the relevant terms discussed in each page of the Wiki application are identified. The identified terms are used as tags for a given page or set of pages. The tags can be used to search the Wiki in a more meaningful way, locating and better understanding and managing the information within the Wiki.
Also, the tags can be used as the starting point for a “folksonomy” of information for the Wiki application. A “folksonomy” is a collaboratively generated, open-ended labeling system that enables Internet users to categorize content such as Web pages, online photographs, and Web links. The freely chosen labels, called tags, help to improve the effectiveness of search engines because content is categorized using a familiar, accessible, and shared vocabulary. The labeling process is called tagging. Two widely cited examples of websites using folksonomic tagging are Flickr and del.icio.us.
In an illustrative embodiment of the present invention, a user has the ability to extract and categorize relevant terms using Wiki tags 702. A user may mouse click on an empty area in tag area 704. A mouse click means to move the mouse pointer over an object and press and release a mouse button once. However a user may click on an empty area by moving any pointer to the area by other means, such as arrow keys, or trac ball, or other means and pressing the equivalent of an enter key once. This type of user input begins the process of automatically extracting and categorizing terms from the current Wiki page or set of sub-pages. A set of pages or sub-pages may be one or more pages or sub-pages. In an illustrative embodiment of the present invention, a Wiki command called TermExtraction, which is an example of a specific Wiki command 420 in
In response to receiving a universal resource identifier, Wiki controller 806 creates Wiki command context 808, such as Wiki command context 544 in
The operation begins when a Wiki controller on the server receives a request to extract terms for the current Wiki page (process block 902). The Wiki controller on the server handles the request and delegates the request to a request handler, which is a specific instantiation of request handler 404 in
The request handler calls the “loadplugin” method on the Wiki command context object. The loadplugin method loads the Wiki command subclass that implements the Wiki command that is invoked to achieve the automatic extraction of terms for the current Wiki page or set of sub-pages. The loadplugin method searches a set of directories on the file system looking for a PHP file named the same as the Wiki command class that the loadplugin method is asked to load. The loadplugin method finds the file and uses the PHP “include” language feature to load the file. Loading the file causes the file to be interpreted thus defining the PHP class for the Wiki command. The command context can then create instances of the loaded class.
In an illustrative embodiment of the present invention the Wiki command is called the TermExtraction command. The TeTxExtraction command calls the “draw” method of the TermExtraction command (process block 904). The TermExtraction command calls the “getPage” method of the Wiki object to get the current Wiki page or set of sub-pages (process block 906). A getpage method returns the Wiki page currently in process. The TermExtraction command then retrieves the body field from the Wiki page object of the current Wiki page (process block 908). A body field is an object variable, such as object variable 528 in
The TermExtraction command receives the result of the term extraction from the term extraction Web service call (process block 912), packages the result and returns the result to the request handler (process block 914). The request handler, in turn, sends a response to the client browser (process block 916).
The server receives a request from the client browser to update the tags for the current page (process block 918). The server stores the tags in a database table, such as database 524 in
The operation begins when a user views a Wiki page, such as Wiki page 602 in
Thus, illustrative embodiments of the present invention provide a programmatic term extraction and categorization technique. The technique both gives a user a sense of what a Wiki page or set of Wiki pages is about and suggests likely and appropriate tag candidates. The Wiki application is scanned, and the relevant terms discussed in each page of the Wiki application are identified. The identified terms are used as tags for a given page or set of pages. The tags can be used to search the Wiki in a more meaningful way, locating and better understanding and managing the information within the Wiki application. Programmatic term extraction can be used to analyze the contents of any type of Web page or any document that is loaded on a data processing system, as well as for Wiki applications.
It should be noted that although the illustrative embodiments of the present invention detailed above were described in terms of a Wiki application in a Wiki environment, the above described illustrative embodiments of the present invention are not limited to a Wiki application in a Wiki environment. The use of a Wiki application in a Wiki environment as an example in the descriptions was not intended to in anyway limit the scope of the present invention. It would be obvious to one of ordinary skill in the art that the above described illustrative embodiments of the present invention apply equally well to any shared environment that may be accessed through an interface by a group of users. Furthermore, while certain aspects of the illustrative embodiments of the present invention described above were explained in terms of JavaScript language, the use of the JavaScript language as an example in the descriptions was not intended to in anyway limit the scope of the present invention. Those of ordinary skill in the art will realize that the illustrative embodiments of the present invention described above may be implemented using any object oriented scripting language.
The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk - read only memory (CD-ROM), compact disk—read/write (CD-R/W) and DVD.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems and Ethernet cards are just a few of the currently available types of network adapters.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
The present invention is related to the following applications entitled Method and Apparatus for Data Hub Objects, Curtis et al., Attorney Docket AUS920060516US1, Serial No. ______; Method for Defining a Wiki Page Layout using a Wiki Page, Curtis et al., Attorney Docket AUS920060517US1, Serial No. ______; Method for Extending the Capabilities of a Wiki Environment, Curtis et al., Attorney Docket AUS920060518US1, Serial No. ______; Method for Programmatically Hiding and Displaying Wiki Page Layout Sections, Curtis et al., Attorney Docket AUS920060519US1, Serial No. ______; Method for Inheriting a Wiki Page Layout for a Wiki Page, Curtis et al., Attorney Docket AUS920060520US1, Serial No. ______; Method for Processing a Web Page for Display in a Wiki Environment, Curtis et al., Attorney Docket AUS920060521US1, Serial No. ______; Processing Model of an Application Wiki, Curtis et al., Attorney Docket AUS920060522US1, Serial No. ______; Generic Frequency Weighted Visualization Component, Curtis et al., Attorney Docket AUS920060523US1, Serial No. ______; Method and Apparatus for Client Wiring Model, Curtis et al., Attorney Docket AUS920060525US1, Serial No. ______; Method and Apparatus for Server Wiring Model, Curtis et al., Attorney Docket AUS920060526US1, Serial No. ______; Method and Apparatus for Client and Server Interaction, Curtis et al., Attorney Docket AUS920060527US1, Serial No. ______; and Method and Apparatus for Argument Detection for Event Firing, Curtis et al., Attorney Docket AUS920060528US1, Serial No. ______; all filed even date hereof, all assigned to a common assignee, and all of which are incorporated herein by reference.