The present disclosure relates to methods, systems and programming for developing and hosting platform independent applications. More particularly, the present disclosure is directed to methods, systems, and programming for developing applications that may be executed on any device platform.
Recent advancements in technology have resulted in increased usage of different devices and operating systems. Devices such as laptops, smartphones, tablets, and computer systems may operate on a variety of operating systems, including Android, Windows, OS X, and iOS. Users of these devices and operating systems have grown to expect seamless access and increased functionality and interactivity. As a result, users also expect intercompatibility between different devices. To adhere to the high standards set by users, developers and content providers must maintain and develop several versions and permutations for each application written for each different device and each different operating system. For example, the same smartphone application must often be rewritten for at least each of the Android, iPhone, and Windows phone platforms, to say nothing of additional applications that may be needed for specific smartphones manufactured by Samsung, LG, HTC, T-Mobile, Blackberry, etc. Not only must these different versions of applications be developed, but they must also be tested, maintained, and stored. Furthermore, even if the applications are developed to be as similar as possible across different devices and platforms, users may still experience different results when accessing the same application from different smartphones, or from a personal computer, or laptop.
The embodiments described herein relate to methods, systems, and programming developing and hosting platform independent applications. More particularly, the present disclosure is directed to methods, systems, and programming for developing applications that may be executed on any device platform.
In an embodiment, a method, implemented on at least one computing device, each computing device having at least one processor, storage, and a communication platform connected to a network for providing development and deployment of applications that are interoperable across different device platforms is disclosed. An application capable of being executed in a plurality of different device formats is generated. The application is deployed to a client device for execution at the client device. Execution of the application is initiated at a server. The application may be generated by coding the application to include a JavaScript application framework facilitating both client side and server side execution of the application. The JavaScript application framework includes binders allowing a client device execution of the application to interface with controllers at a server side execution of the application. The application may be deployed to a client device by detecting settings of the client device, and deploying packages to the application based on the detected settings to customize the application for the client device. Furthermore, an indication that the client device is unable to respond to a user instruction to the application may be received. The user instruction may be executed at the application at the server, and a result of the execution of the user instruction may be transmitted to the client device for display at the client device.
In another embodiment, a method implemented on at least one computing device, each computing device having at least one processor, storage, and a communication platform connected to a network for providing deployment of applications that are interoperable across different device platforms is disclosed. An application capable of being executed in a plurality of different device platforms is deployed to a client device. A memory usage of the device is determined to determine if the device has adequate memory to execute the application. A memory management scheme is determined for the client device if the device does not have adequate memory to execute the application. The memory management scheme is transmitted to the client device for implementation.
In another embodiment, a method implemented on at least one computing device, each computing device having at least one processor, storage, and a communication platform connected to a network for utilizing an application facilitating interoperability across different device platforms is disclosed. An application capable of being executed in a plurality of different device platforms is executed. A determination is made that a user input instruction for the application cannot be executed. The user input instruction is transmitted to a server hosting the application for the server to execute the user input instruction. A result of the user input instruction is received from the server for display. The application may be executed in a browser environment. A result of the user input instruction from the server may be displayed such that a user cannot discern that the application could not execute the user input instruction.
In another embodiment, a method implemented on at least one computing device having at least one processor, storage, and a communication platform connected to a network for running an application that is interoperable across a plurality of device platforms is disclosed. An application capable of being executed in a plurality of different device platforms is executed. A determination is made that a network connection with a server is unstable. Binders within the application are invoked allowing the application to execute independent of the network connection to the server.
In another embodiment, a system for providing development and deployment of applications that are interoperable across different device platforms is disclosed. The system includes an application builder for generating an application capable of being executed in a plurality of different device formats. An application hoster deploys the application to a client device for execution at the client device. A server initiates execution of the application at a server. The application builder is configured to code the application to include a JavaScript application framework facilitating both client side and server side execution of the application. The JavaScript application framework includes binders allowing a client device execution of the application to interface with controllers at a server side execution of the application. The system may also include a package management unit for detecting settings of the client device, and deploying packages to the application to customized the application for the client device based on the detected settings. The server may further be configured to receive an indication that the client device is unable to respond to a user instruction to the application, execute the user instruction at the application executing at the server, and transmit a result of the execution of the user instruction to the client device for display at the client device.
In another embodiment, a system for development and hosting of applications that are interoperable across different device platforms is disclosed. The system includes an application builder for producing an application capable of being executed in a plurality of different device platforms. Application development tools add an application framework to the application. An application hoster deploys the application. The application hoster is configured to deploy additional hosted services with the application, the additional hosted services comprising at least one of: privacy controls and parental controls. A package management unit updates the deployed application.
Other concepts relate to software for implementing development and hosting of platform independent applications. A software product, in accordance with this concept, includes at least one machine-readable non-transitory medium and information carried by the medium. The information carried by the medium may be executable program code data regarding parameters in association with a request or operational parameters such as information related to a user, a request, or a social group, etc.
In another embodiment, a machine readable non-transitory and tangible medium having information recorded for providing development and hosting of applications that are interoperable across different device platforms, wherein the information, when read by the machine causes the machine to generate an application capable of being executed in a plurality of different device formats, deploy the application to a client device for execution at the client device, and initiate execution of the application at a server. The application may be generated by coding the application to include a JavaScript application framework facilitating both client side and server side execution of the application. The JavaScript application framework includes binders allowing a client device execution of the application to interface with controllers at a server side execution of the application. The application may be deployed to a client device by detecting settings of the client device, and deploying packages to the application based on the detected settings to customize the application for the client device. Furthermore, an indication that the client device is unable to respond to a user instruction to the application may be received. The user instruction may be executed at the application at the server, and a result of the execution of the user instruction may be transmitted to the client device for display at the client device.
Additional advantages and novel features will be set forth in part in the description which follows, and in part will become apparent to those skilled in the art upon examination of the following and the accompanying drawings or may be learned by production or operation of the disclosed embodiments. The advantages of the present embodiments may be realized and attained by practice or use of various aspects of the methodologies, instrumentalities and combinations set forth in the detailed description set forth below.
The methods, systems, and/or programming described herein are further described in terms of exemplary embodiments. These exemplary embodiments are described in detail with reference to the drawings. These embodiments are non-limiting exemplary embodiments, in which like reference numerals represent similar structures throughout the several views of the drawings.
In the following detailed description, numerous specific details are set forth by way of example in order to provide a thorough understanding of the relevant embodiments described herein. However, it should be apparent to those skilled in the art that the present embodiments may be practiced without such details. In other instances, well known methods, procedures, components and/or circuitry have been described at a relatively high-level, without detail, in order to avoid unnecessarily obscuring aspects of the embodiments described herein.
The present disclosure relates to methods, systems and programming developing and hosting platform independent applications. More particularly, the present disclosure is directed to methods, systems, and programming for developing applications that may be executed on any device platform. The embodiments described herein provides a platform that facilitates development and hosting of applications using a cloud infrastructure. The development and hosting platform may deploy applications to client devices to be run locally at the client device or at a server. The deployed applications may also run off-line locally at the client device. The platform provides a web application framework that allows an application to execute both at a client or browser side or at a server side. As a result, application developers do not need to write different code for a server backend and a browser frontend. Additionally, an application may run at the server side even if the client side encounters problems executing the application, because the applications all use a single code base. Furthermore, applications may run in a hybrid runtime utilizing resources of both a client device or client browser and a server.
Users 510 may be of different types such as users connected to the network via desktop connections (510-4), users connecting to the network via wireless connections such as through a laptop (510-3), a handheld device (510-1), or a built-in device in a motor vehicle (510-2). A user may run applications provided by web server 530, development platform 540, or any of content sources 560. Thus, applications may be provided from web server 530, development platform 540, or any of content sources 560 through network 520. Once a user is running an application on their device, user may send instructions or requests via the application to web server 530, development platform 540, or any of content sources 560 through network 520. The application may also independently communicate with web server 530, development platform 540, or any of content sources 560 through network 520 as needed to ensure that the application can execute properly.
For example, an application that is interoperable across different platforms and operating systems may be provided to any of users 510 by web server 530, development platform 540, or any of content sources 560 through network 520. The application may be developed at development platform 540 but may also be deployed through any of the aforementioned components. The application may also be hosted by development platform 540 so that the entire application is executed remotely, with all results of user interactions with the application provided to the users 510.
The content sources 560 include multiple content sources 560-1, 560-2, . . . , 560-3. A content source may correspond to a web page host corresponding to an entity, whether an individual, a business, or an organization such as the USPTO represented by USPTO.gov, a content provider such as Yahoo.com, or a content feed source such as Twitter or blog pages. It is understood that any of these content sources may store and host applications that have been developed using development platform 540 in accordance with an embodiment of the present disclosure. A content source may also include, for example, an application store that provides applications to personal computers, laptops, or mobile devices. Web server 530 and development platform 540 may access information from any of content sources 560 and rely on such information to respond to application requests and vice versa. Development platform 540 may also access additional information, via network 520, stored in database 550, which may contain modules and/or application tools for developing applications.
In exemplary system 500, an application is developed at development platform 540. The application is developed such that the application is interoperable across different device platforms and operating systems. Additionally, the application is developed such that if the application is one requiring a hybrid client device and server runtime, the application may execute on its own at a client or user device independent of the device's connection to a server over a network. The application is also developed so that it may adaptively utilize the resources of a server if a server is better suited to execute certain aspects of the application or the entire application. Finally, the application is developed so that it may be hosted completely at a server, which simply provides response to application user input to a user or client device, while the server carries out all instructions and requests received by the application via user input.
The application need only be developed once and the same application may be deployed across network 520 to any of users 510. The application may be deployed to users 510 from any of web server 530, development platform 540, or content sources 560.
In an embodiment, the application is deployed to user 510-1 using a mobile device. If, for example, user 510-1 of the mobile device enters an area of limited or no mobile broadband connectivity, the application is able to continue executing even though the application cannot establish a connection with a web server or content source from which it is deployed.
In another embodiment, the application is deployed to user 510-3 using a laptop that is incompatible with the application because the laptop is not capable of supporting JavaScript. However, development platform 540, from which the application is deployed, may host the application and carry out any requests of user 510-3 at their laptop. Development platform 540 provides user 510-3 responses to user inputs of the application that is viewable and actionable by user 510-3 so that user 510-3 does not notice any difference or suffer any consequence from their laptop being incompatible with the application.
All applications that are developed are based on a browser based or scripting based application framework. In an embodiment, this browser based or scripting based application framework is a JavaScript application framework. Thus, in an embodiment, the applications are written or coded completely using JavaScript. The JavaScript application framework facilitates development of applications that can be executed in both client-side and server-side environments. The JavaScript application framework ensures that developers using application builder 802 do not have to write a different set of code for a server backend and a browser frontend. The JavaScript application framework also ensures that even if a browser attempting to execute the application is not capable of running JavaScript applications or is not compatible with JavaScript, the application will adapt and execute instead at a server side. Since all applications may be JavaScript based, a single code base may be used. A module/widget application framework is also used along with the JavaScript application platform by application builder 802 to develop applications that may be deployed to devices. The application framework facilitates the development of transportable code between client devices or browsers at client devices and server. The application framework provides a software architecture pattern that isolates application logic for a user from a user interface, thus permitting independent development, testing, and maintenance of each.
Thus, as discussed above, each application generated by application builder 802 allows developers to develop one application that is interoperable between different device platforms and operating systems. The same single application may be deployed to a variety of devices and be executable on all of them. The applications may be deployed to any device that is capable of running or having a browser environment capable of executing the applications.
Application development tools 804 facilitates continuous integration of tasks for developers using application builder 802 to develop applications. The development of applications may be monitored, and output from the applications reviewed. Application development tools 804 may also be used in conjunction with application builder 802 to add device specific presentation capabilities to applications.
Memory management unit 810 may be used to add yet another level of functionality to the applications developed by application builder 802. Before, or after deployment of an application to a device, memory management unit 810 may detect a current or expected memory usage of the device. If the application will require more memory than is available at the device, memory management unit 810 may deploy a memory management scheme to the device. The memory management scheme ensures that the device will always have enough memory to support execution of the application. This prevents the application from encountering memory related errors.
Package management unit 812 is responsible for ensuring that deployed applications are kept updated. Deployed applications may periodically or at user request, submit an update request to package management unit 812 to serve updated packages to the applications. The update request includes a list of currently installed and additional packages it wants to acquire. Package management unit 812 checks the package list and obtains package dependencies from dependencies database 814. Package dependencies ensure that the client device receives not only the packages it requests, but also additional, and dependent packages that should be served to ensure that the application is fully upgraded and able to operate. Package management unit 812 is then able to deploy or serve all updated and required packages to the client device autonomously.
Package management unit 812 may also be responsible for ensuring that the correct packages are delivered to a client device based on the client device type. For example, if a client device is a smartphone operating on iOS, package management unit 812, ensures that the packages received by the client device are compliant with iOS and are optimized such that the application will execute taking full advantage of the capabilities of the client device.
In another embodiment, package management unit 812 may facilitate retrieval of previews based on older versions of applications from a client device. For example, if a client device is running an older version of an application, the server may need to determine a more appropriate package corresponding to an older version of the application. The client device may submit a request to package management unit 812 for packages it wishes to preview. Package management unit 812 determines the client device is executing an older version of an application and searches for files which have been tagged to represent their association with a particular version of the application. Once package management unit 812 finds the appropriate files, it responds to the client device with the location of the files so that the client device may retrieve them.
In another embodiment, package management unit 812 facilitates server side caching. Server side caching involves package management unit 812 making an independent determination of which packages are required at a client device. This allows package management unit 812 to adaptively cache certain packages to ensure that required packages are deployed in an efficient manner to prevent any slow down of application execution. Intermediate computations may be cached to aid in future package requests as well.
Application hoster 816 is a hosting environment for all applications developed by application builder 802. More specifically, application hoster 816 is a server-side JavaScript hosting environment for applications, allowing application developers to deploy, un-deploy, and manage multiple versions of applications. Applications deployed from application hoster 816 are able to be executed on any device platform due to the platform agnostic nature of the applications. Application hoster 816 provides hosting of applications in a network environment. Thus, the servers shown in
Application architecture 902 includes client/server executable components 904 and client executable components 906. Client/server executable components 904 include configuration files 908, controllers 910, models 912, and views 914. Client executable components 906 includes document object models (DOMs) 916 and binders 918.
Configuration files 908 define relationships between code components, assets, routing paths, and defaults. When an application is first created by a developer using application builder 802, configuration files are generated. Controllers 910 react to user input and initiate responses to user input by calling models 912. For example, a particular controller associated with a particular model may receive an indication of a user input and instruct a corresponding model and corresponding view from views 914 to perform actions based on the user input. Models 912 manage the behavior and data of an application domain, and responds to requests for information about its state (from the views), and responds to instructions to change state (from the controllers). More specifically, models 912 notify views 914 about changes in information so that views 914 can react accordingly. Views 914 renders models 912 into forms suitable for interaction, typically in the form of a user interface element. Multiple views may exist for a single model. Views 914 represent what a user of an application sees on a device or browser.
For an application operating at a server side or within a browser at a client device, client requests for data, or user input, is sent to controllers 910, which fetch data from models 912 to pass to views 914. The appropriate output from the views may then be passed back to the client device.
DOMs 916 assist in rendering views. DOMs 916 are conventions that represent and interact with objects such as views, models, and controllers. DOMs 916 and binders 918 are deployed to a client device only since they are only executable at a client device. Binders 918 interact with event handlers based on user interface input to an application from a user. The event handlers interact with the DOMs 916 which in turn invoke functions in the controllers 910 to update content in views 914. Since DOMs 916 and binders 918 are only client executable, binders receive user input in the form of user interface interactions. The binders 918 interact with the DOMs 916, which communicates with the controllers to facilitate client requests.
The user input to controllers 910 at a server side occurs when a client device binders 918 cannot interact with controllers 910 via DOMs 916. This causes controllers 910 at a server side to run remote network requests that are sent to models 912. The results from models 912 are sent to views 914 to transmit back to the client device for rendering at a client browser.
In another embodiment, package management unit 812 may receive an update request for a past version of an application. In this scenario, package management unit searches for a corresponding past update package that is compatible with the update request, and provides the relevant packages to the application as required.
Peripheral services unit 1712 provides peripheral services such as privacy controls and parental controls to applications deployed by application hoster 816. For example, a hosted application may also receive the benefit of a peripheral service allowing parental controls to be set for the application. If the application were not hosted at application hoster 816, this option would not be available.
At 1820, the application is deployed to a client device for execution at the client device. Deployment of the application may take place through server 530. However, the deployment may also be in response to an instruction transmitted from one of content sources 560 to server 530 to deploy the application to a client device. For example, a user of a device may visit content source 560-1, to select an application for download or access. Content source 560-1 in turn sends an instruction to server 530 to deploy the application to the client device. Deploying the application may also involve detecting settings of the client device at 1830. At 1840, in response to detecting the settings, packages may be deployed to the client device which are integrated to the application in order to customize the application for the client device. For example, if the client device is an iOS smartphone, certain customizations may be required to ensure that the application is viewable and executable within the confines of iOS specific settings and configurations.
At 1850, execution of the application may be initiated at the server. The application is initiated at the server in anticipation of the server being called upon to respond to user instructions to the application at the client device that the client device.
To implement the embodiments set forth herein, computer hardware platforms may be used as hardware platform(s) for one or more of the elements described herein (e.g., application builder 802, application hoster 816, memory management unit 810, and package management unit 812). The hardware elements, operating systems and programming languages of such computer hardware platforms are conventional in nature, and it is presumed that those skilled in the art are adequately familiar therewith to adapt those technologies to implement any of the elements described herein. A computer with user interface elements may be used to implement a personal computer (PC) or other type of workstation or terminal device, although a computer may also act as a server if appropriately programmed. It is believed that those skilled in the art are familiar with the structure, programming, and general operation of such computer equipment, and as a result the drawings are self-explanatory.
The computer 2300, for example, includes COM ports 2350 connected to and from a network connected thereto to facilitate data communications. The computer 2300 also includes a central processing unit (CPU) 2320, in the form of one or more processors, for executing program instructions. The exemplary computer platform includes an internal communication bus 2310, program storage and data storage of different forms, e.g., disk 2370, read only memory (ROM) 2330, or random access memory (RAM) 2340, for various data files to be processed and/or communicated by the computer, as well as possibly program instructions to be executed by the CPU. The computer 2300 also includes an I/O component 2360, supporting input/output flows between the computer and other components therein such as user interface elements 2380. The computer 2300 may also receive programming and data via network communications.
Hence, aspects of the methods of developing, deploying, and hosting applications that are interoperable across a plurality of device platforms, as outlined above, may be embodied in programming. Program aspects of the technology may be thought of as “products” or “articles of manufacture” typically in the form of executable code and/or associated data that is carried on or embodied in a type of machine readable medium. Tangible non-transitory “storage” type media include any or all of the memory or other storage for the computers, processors or the like, or associated schedules thereof, such as various semiconductor memories, tape drives, disk drives and the like, which may provide storage at any time for the software programming.
All or portions of the software may at times be communicated through a network such as the Internet or various other telecommunication networks. Such communications, for example, may enable loading of the software from one computer or processor into another, for example, from a server or host computer into the hardware platform(s) of a computing environment or other system implementing a computing environment or similar functionalities in connection with generating explanations based on user inquiries. Thus, another type of media that may bear the software elements includes optical, electrical and electromagnetic waves, such as used across physical interfaces between local devices, through wired and optical landline networks and over various air-links. The physical elements that carry such waves, such as wired or wireless links, optical links or the like, also may be considered as media bearing the software. As used herein, unless restricted to tangible “storage” media, terms such as computer or machine “readable medium” refer to any medium that participates in providing instructions to a processor for execution.
Hence, a machine readable medium may take many forms, including but not limited to, a tangible storage medium, a carrier wave medium or physical transmission medium. Non-volatile storage media include, for example, optical or magnetic disks, such as any of the storage devices in any computer(s) or the like, which may be used to implement the system or any of its components as shown in the drawings. Volatile storage media includes dynamic memory, such as a main memory of such a computer platform. Tangible transmission media includes coaxial cables, copper wire, and fiber optics, including wires that form a bus within a computer system. Carrier-wave transmission media can take the form of electric or electromagenetic signals, or acoustic or light waves such as those generated during radio frequency (RF) and infrared (IR) data communications. Common forms of computer-readable media therefore include for example: a floppy disk, a flexible disk, hard disk, magnetic take, any other magnetic medium, a CD-ROM, DVD or DVD-ROM, any other optical media, punch card paper tapes, any other physical storage medium with patterns of holes, a RAM, a PROM and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave transporting data or instructions, cables or links transporting such a carrier wave, or any other medium from which a computer can read programming code and/or data. Many of these forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to a processor for execution.
Those skilled in the art will recognize that the embodiments of the present disclosure are amenable to a variety of modifications an/or enhancements. For example, although the implementation of various components described above may be embodied in a hardware device, it can also be implemented as a software only solution—e.g., an installation on an existing server. In addition, the dynamic relation/event detector and its components as disclosed herein can be implemented as firmware, a firmware/software combination, a firmware/hardware combination, or a hardware/firmware/software combination.
While the foregoing has described what are considered to be the best mode and/or other examples, it is understood that various modifications may be made therein and that the subject matter disclosed herein may be implemented in various forms and examples, and that the teachings may be applied in numerous applications, only some of which have been described herein. It is intended by the following claims to claim and all applications, modifications and variations that fall within the true scope of the present teachings.
The present application claims the benefit of priority to U.S. Provisional Application Ser. No. 61/568,056 filed 7 Dec. 2011, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61568056 | Dec 2011 | US |