[go: up one dir, main page]

US20190073198A1 - Multi-flavored software execution from a singular code base - Google Patents

Multi-flavored software execution from a singular code base Download PDF

Info

Publication number
US20190073198A1
US20190073198A1 US16/182,475 US201816182475A US2019073198A1 US 20190073198 A1 US20190073198 A1 US 20190073198A1 US 201816182475 A US201816182475 A US 201816182475A US 2019073198 A1 US2019073198 A1 US 2019073198A1
Authority
US
United States
Prior art keywords
source code
interpreter
code
version
computer program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US16/182,475
Inventor
Andreas Sandberg
Yuk Lai Suen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sugarcrm Inc
Original Assignee
Sugarcrm Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sugarcrm Inc filed Critical Sugarcrm Inc
Priority to US16/182,475 priority Critical patent/US20190073198A1/en
Publication of US20190073198A1 publication Critical patent/US20190073198A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • G06F9/44542Retargetable
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • G06F11/3636Debugging of software by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • G06F17/30905
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/52Binary to binary
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Definitions

  • the present invention relates to software versioning and more particularly to deploying different versions of a computer program to different end users.
  • Traditional software deployment refers to the development and distribution of a computer program that provides one or more functional features upon execution in the memory of a computer. As different functional features are developed, new versions of same computer program are deployed, either as an upgrade for an existing end user or a new purchase for a new or existing end user. At any given moment, the developer distributes only a single, most recent version of the computer program, though prior versions of the computer program remain deployed for existing end users.
  • Embodiments of the present invention address deficiencies of the art in respect to application versioning and provide a novel and non-obvious method, system and computer program product for multi-flavored software execution from a singular code base.
  • a method for multi-flavored software execution from a singular code base includes receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine.
  • the method thereafter includes responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version.
  • the interpreter is a PHP hypertext processor interpreter.
  • the source code includes multiple portions, each portion having an annotation indicating a particular corresponding version of the computer program.
  • FIG. 1 is a pictorial illustration of a process for multi-flavored software execution from a singular code base
  • Embodiments of the invention provide for multi-flavored software execution from a singular code base.
  • an instruction is received in an interpreter to interpret source code of a computer program into object code suitable for execution by an underlying operating system.
  • the source code includes programmatic instructions grouped by functionality with selected ones of the grouped functionality being annotated with a tag corresponding to a particular version of the computer program.
  • the interpreter parses the source code and interprets only those portions of the source code with an annotation matching a specified version. In this way, a single code base of the computer program is maintained while still allowing for multiple versioning without requiring a large executable.
  • FIG. 1 pictorially shows a process for multi-flavored software execution from a singular code base.
  • one or more source code files 110 of interpretable source code for a multi-version application are provided.
  • Each of the source code files 110 includes different portions, annotated according to a specified version.
  • Multi-flavored software execution logic 120 receives from an end user a provisioning request 130 to execute a particular version of the multi-version application.
  • the provisioning request 130 particularly specifies a version of the multi-version application.
  • the multi-flavored software execution logic 120 parses the source code files 110 . In doing so, the multi-flavored software execution logic 120 permits the interpreter 160 to interpret only those portions of the source code files 110 that have been annotated with a version consistent with the version specified in the provisioning request 130 . Thereafter, the interpreter produces byte code objects 140 corresponding to the interpreted portions of the source code files 110 . The resultant byte code objects 140 are then provided to a virtual machine 150 in which the objects 140 are executed in order to present the requested version of the application 170 .
  • FIG. 2 schematically illustrates a data processing system configured for multi-flavored software execution from a singular code base.
  • the system includes a host computing system 210 that includes one or more computers, each with memory and at least one processor.
  • the host computing system 210 is coupled to a source code repository 230 of source code files for a multi-version application.
  • a PHP interpreter 220 executes in the memory of the host computing system 210 utilizing the computing resources both physical and logical of the host computing system 210 , and is configured to interpret different specified portions of source code files in the source code repository 230 and to provide resulting byte code over computer communications network 240 to requesting virtual machines 260 executing in respectively different client computers 250 .
  • the system includes a multi-flavored execution extension 300 to the PHP interpreter 220 .
  • the multi-flavored execution extension 300 is included either as part of the program code of the PHP interpreter 220 thereby forming a customized interpreter, or the multi-flavored execution extension 300 is coupled to the PHP interpreter 220 as an extension to the PHP interpreter 220 .
  • the multi-flavored execution extension 300 includes program code that when executed within the memory of the host computing system 210 , is enabled to identify a particular version of the multi-version application, to load the source code files in the repository 230 for the application, to select only those portions of the source code files pertinent to the identified version, and to provide those selected portions to the PHP interpreter 220 for interpretation into resultant byte code to be transmitted to a requesting one of the virtual machines 260 .
  • FIG. 3 is a flow chart illustrating a process for multi-flavored software execution from a singular code base.
  • a deployment request is received to provision a version of a multi-version application into a virtual machine of a communicatively coupled client computer.
  • the requested version is identified and in block 330 , an interpreter is invoked to interpret only those portions of the source code of the multi-version application relating to the specified version in order to produce byte code specified to the specified version of the multi-version application.
  • the resultant byte code is selected and provided to the virtual machine in block 350 .
  • the present invention may be embodied within a system, a method, a computer program product or any combination thereof.
  • the computer program product may include a computer readable storage medium or media having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
  • the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or Flash memory erasable programmable read-only memory
  • SRAM static random access memory
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disk
  • memory stick a floppy disk
  • a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
  • a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
  • the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block may occur out of the order noted in the figures.
  • two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

Embodiments of the present invention provide a method, system and computer program product for multi-flavored software execution from a singular code base. In an embodiment of the invention, a method for multi-flavored software execution from a singular code base is provided. The method includes receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine. The method thereafter includes responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version.

Description

    BACKGROUND OF THE INVENTION Field of the Invention
  • The present invention relates to software versioning and more particularly to deploying different versions of a computer program to different end users.
  • Description of the Related Art
  • Traditional software deployment refers to the development and distribution of a computer program that provides one or more functional features upon execution in the memory of a computer. As different functional features are developed, new versions of same computer program are deployed, either as an upgrade for an existing end user or a new purchase for a new or existing end user. At any given moment, the developer distributes only a single, most recent version of the computer program, though prior versions of the computer program remain deployed for existing end users.
  • Oftentimes, it is desirable to deploy multiple different versions of the same computer program at the same time, each of the versions incorporating a different selection of functional features. In many instances, a basic and advanced version of the same computer program is provided, the cost of both versions varying according to the number and nature of the selection of the functional features. To deploy multiple versions of the same computer program, however, requires multiple different builds of the same computer based upon a single code base.
  • To address the complexity and inefficiency of deploying multiple different versions of the same computer program, developers build a single deployable computer program with certain functions disabled. Responsive to internal programmatic directives, different ones of the functional features can be enabled or disabled so as to customize the set of functional features. Thus, essentially different versions of the computer program may exist with but a single deployed computer program. Consequently, the size of the executable computer program can be massive in that all possible functional features must be present in the executable object at run-time irrespective of the number of features ultimately selected for use by the end user.
  • BRIEF SUMMARY OF THE INVENTION
  • Embodiments of the present invention address deficiencies of the art in respect to application versioning and provide a novel and non-obvious method, system and computer program product for multi-flavored software execution from a singular code base. In an embodiment of the invention, a method for multi-flavored software execution from a singular code base is provided. The method includes receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine. The method thereafter includes responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version. In one aspect of the embodiment, the interpreter is a PHP hypertext processor interpreter. In another aspect of the embodiment, the source code includes multiple portions, each portion having an annotation indicating a particular corresponding version of the computer program.
  • In another embodiment of the invention, a data processing system is configured for multi-flavored software execution from a singular code base. The system includes a host computing system having at least one computer with memory and at least one processor. The system also includes a virtual machine executing in the memory of the host computing system and an interpreter executing in the virtual machine. The interpreter includes program code enabled to receive a request to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by the virtual machine, and to respond to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version.
  • Additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The aspects of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
  • BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
  • The accompanying drawings, which are incorporated in and constitute part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. The embodiments illustrated herein are presently preferred, it being understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown, wherein:
  • FIG. 1 is a pictorial illustration of a process for multi-flavored software execution from a singular code base;
  • FIG. 2 is a schematic illustration of a data processing system configured for multi-flavored software execution from a singular code base; and,
  • FIG. 3 is a flow chart illustrating a process for multi-flavored software execution from a singular code base.
  • DETAILED DESCRIPTION OF THE INVENTION
  • Embodiments of the invention provide for multi-flavored software execution from a singular code base. In accordance with an embodiment of the invention, an instruction is received in an interpreter to interpret source code of a computer program into object code suitable for execution by an underlying operating system. The source code includes programmatic instructions grouped by functionality with selected ones of the grouped functionality being annotated with a tag corresponding to a particular version of the computer program. In response, the interpreter parses the source code and interprets only those portions of the source code with an annotation matching a specified version. In this way, a single code base of the computer program is maintained while still allowing for multiple versioning without requiring a large executable.
  • In further illustration, FIG. 1 pictorially shows a process for multi-flavored software execution from a singular code base. As shown in FIG. 1, one or more source code files 110 of interpretable source code for a multi-version application are provided. Each of the source code files 110 includes different portions, annotated according to a specified version. Multi-flavored software execution logic 120 receives from an end user a provisioning request 130 to execute a particular version of the multi-version application. The provisioning request 130 particularly specifies a version of the multi-version application.
  • Thereafter, the multi-flavored software execution logic 120 parses the source code files 110. In doing so, the multi-flavored software execution logic 120 permits the interpreter 160 to interpret only those portions of the source code files 110 that have been annotated with a version consistent with the version specified in the provisioning request 130. Thereafter, the interpreter produces byte code objects 140 corresponding to the interpreted portions of the source code files 110. The resultant byte code objects 140 are then provided to a virtual machine 150 in which the objects 140 are executed in order to present the requested version of the application 170.
  • The process described in connection with FIG. 1 is implemented in a data processing system. In yet further illustration, FIG. 2 schematically illustrates a data processing system configured for multi-flavored software execution from a singular code base. The system includes a host computing system 210 that includes one or more computers, each with memory and at least one processor. The host computing system 210 is coupled to a source code repository 230 of source code files for a multi-version application. A PHP interpreter 220 executes in the memory of the host computing system 210 utilizing the computing resources both physical and logical of the host computing system 210, and is configured to interpret different specified portions of source code files in the source code repository 230 and to provide resulting byte code over computer communications network 240 to requesting virtual machines 260 executing in respectively different client computers 250.
  • Of note, the system includes a multi-flavored execution extension 300 to the PHP interpreter 220. The multi-flavored execution extension 300 is included either as part of the program code of the PHP interpreter 220 thereby forming a customized interpreter, or the multi-flavored execution extension 300 is coupled to the PHP interpreter 220 as an extension to the PHP interpreter 220. In either circumstance, the multi-flavored execution extension 300 includes program code that when executed within the memory of the host computing system 210, is enabled to identify a particular version of the multi-version application, to load the source code files in the repository 230 for the application, to select only those portions of the source code files pertinent to the identified version, and to provide those selected portions to the PHP interpreter 220 for interpretation into resultant byte code to be transmitted to a requesting one of the virtual machines 260.
  • In even yet further illustration of the operation of the multi-flavored execution extension 300, FIG. 3 is a flow chart illustrating a process for multi-flavored software execution from a singular code base. Beginning in block 310, a deployment request is received to provision a version of a multi-version application into a virtual machine of a communicatively coupled client computer. In block 320, the requested version is identified and in block 330, an interpreter is invoked to interpret only those portions of the source code of the multi-version application relating to the specified version in order to produce byte code specified to the specified version of the multi-version application. In block 340, the resultant byte code is selected and provided to the virtual machine in block 350.
  • The present invention may be embodied within a system, a method, a computer program product or any combination thereof. The computer program product may include a computer readable storage medium or media having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
  • Finally, the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
  • The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but 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 without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and 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.
  • Having thus described the invention of the present application in detail and by reference to embodiments thereof, it will be apparent that modifications and variations are possible without departing from the scope of the invention defined in the appended claims as follows:

Claims (11)

1.-10. (canceled)
11. A method for multi-flavored software execution from a singular code base, the method comprising:
receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine;
responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code; and,
passing the byte code produced during interpretation to the virtual machine for execution.
12. The method of claim 11, wherein the interpreter is a PHP hypertext processor interpreter.
13. The method of claim 11, wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.
14. A data processing system configured for multi-flavored software execution from a singular code base, the system comprising:
a host computing system comprising at least one computer with memory and at least one processor;
a virtual machine executing in the memory of the host computing system;
an interpreter executing in the virtual machine, the interpreter comprising program code enabled to receive a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine, to respond to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code and to pass the byte code produced during interpretation to the virtual machine for execution.
15. The system of claim 14, wherein the interpreter is a PHP hypertext processor interpreter.
16. The system of claim 14, wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.
17. The system of claim 14, wherein the program code is included as an extension to the interpreter.
18. A computer program product for multi-flavored software execution from a singular code base, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to perform a method comprising:
receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine;
responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code; and,
passing the byte code produced during interpretation to the virtual machine for execution.
19. The computer program product of claim 18, wherein the interpreter is a PHP hypertext processor interpreter.
20. The computer program product of claim 18, wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.
US16/182,475 2015-07-16 2018-11-06 Multi-flavored software execution from a singular code base Abandoned US20190073198A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/182,475 US20190073198A1 (en) 2015-07-16 2018-11-06 Multi-flavored software execution from a singular code base

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/800,918 US10120661B2 (en) 2015-07-16 2015-07-16 Multi-flavored software execution from a singular code base
US16/182,475 US20190073198A1 (en) 2015-07-16 2018-11-06 Multi-flavored software execution from a singular code base

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US14/800,918 Continuation US10120661B2 (en) 2015-07-16 2015-07-16 Multi-flavored software execution from a singular code base

Publications (1)

Publication Number Publication Date
US20190073198A1 true US20190073198A1 (en) 2019-03-07

Family

ID=57776549

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/800,918 Active 2035-12-31 US10120661B2 (en) 2015-07-16 2015-07-16 Multi-flavored software execution from a singular code base
US16/182,475 Abandoned US20190073198A1 (en) 2015-07-16 2018-11-06 Multi-flavored software execution from a singular code base

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/800,918 Active 2035-12-31 US10120661B2 (en) 2015-07-16 2015-07-16 Multi-flavored software execution from a singular code base

Country Status (1)

Country Link
US (2) US10120661B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727451A (en) * 2019-10-12 2020-01-24 赛诺贝斯(北京)营销技术股份有限公司 PHP code configuration updating method and device and PHP configuration center
US11340907B2 (en) 2020-07-06 2022-05-24 Lilac Cloud, Inc. Command-aware hardware architecture
CN112506569B (en) * 2020-12-14 2023-06-20 杭州趣链科技有限公司 Byte code executing method, byte code executing device and terminal equipment
US11354267B1 (en) * 2021-01-11 2022-06-07 Lilac Cloud, Inc. Compiler for a command-aware hardware architecture
US11616849B2 (en) 2021-02-15 2023-03-28 Lilac Cloud, Inc. Distributed split edge application architecture
US12289490B2 (en) 2022-11-17 2025-04-29 Lilac Cloud, Inc. Application cache acceleration using device content cache

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143823A1 (en) * 2003-01-10 2004-07-22 Wei Coach K. System and method for network-based computing
US20070143747A1 (en) * 2005-08-12 2007-06-21 Jacob Taylor Customer relationship management system and method having code reuse
US20110302557A1 (en) * 2010-06-03 2011-12-08 International Business Machines Corporation Method, system, and program for executing program

Family Cites Families (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4912637A (en) * 1988-04-26 1990-03-27 Tandem Computers Incorporated Version management tool
US5850550A (en) * 1995-08-31 1998-12-15 International Business Machine Corporation No preprocessor and a source level debugger for embedded SQL in a 3GL
US5774728A (en) * 1995-12-27 1998-06-30 International Business Machines Corporation Method and system for compiling sections of a computer program for multiple execution environments
US6405223B1 (en) * 1998-01-15 2002-06-11 International Business Machines Corporation System for personal storage of different web source versions
US6205578B1 (en) * 1998-08-14 2001-03-20 Ati International Srl Interpreter for stack-based languages
DE60007252T2 (en) * 1999-03-05 2004-09-16 Amulet Technologies, LLC, Campbell GRAPHIC UI DRIVER FOR EMBEDDED SYSTEMS
US6463578B1 (en) * 1999-11-23 2002-10-08 International Business Machines Corporation Systems, methods and computer program products for debugging java server page files using compiled java class file modifications
JP3578057B2 (en) * 2000-07-06 2004-10-20 株式会社日立製作所 ID management system
EP1195675A1 (en) * 2000-07-14 2002-04-10 Sun Microsystems, Inc. Comment driven processing
US7222333B1 (en) * 2001-10-15 2007-05-22 Cisco Technology, Inc. Techniques for generating software application build scripts based on tags in comments
US20030145281A1 (en) * 2001-10-31 2003-07-31 Metacyber.Net Hypertext page generator for a computer memory resident rapid comprehension document for original source information, and method
US7155705B1 (en) * 2001-11-26 2006-12-26 Cisco Technology, Inc. Techniques for binding an application with a data exchange format based on tags in comments
WO2004040445A1 (en) * 2002-10-29 2004-05-13 Freescale Semiconductor, Inc. Method and apparatus for selectively optimizing interpreted language code
US7904807B2 (en) * 2002-11-05 2011-03-08 Xerox Corporation System and method for copying formatting information between Web pages
US7055147B2 (en) * 2003-02-28 2006-05-30 Sun Microsystems, Inc. Supporting interactions between different versions of software for accessing remote objects
US7694277B2 (en) * 2003-05-14 2010-04-06 Microsoft Corporation Cross version customization of design environment
US7305666B2 (en) * 2003-07-23 2007-12-04 Microsoft Corporation Description language for an extensible compiler and tools infrastructure
US7500221B2 (en) * 2004-04-08 2009-03-03 Sap Ag Filter-based comments in source code
US7844958B2 (en) * 2005-03-11 2010-11-30 Aptana, Inc. System and method for creating target byte code
US20060271920A1 (en) * 2005-05-24 2006-11-30 Wael Abouelsaadat Multilingual compiler system and method
JP2007034813A (en) * 2005-07-28 2007-02-08 National Institute Of Advanced Industrial & Technology Software description generation system for multiple natural languages
US8214811B2 (en) * 2006-10-23 2012-07-03 International Business Machines Corporation Instantiating an interface or abstract class in application code
US8145651B2 (en) * 2007-08-17 2012-03-27 Salesforce.Com, Inc. On-demand database service system and method for determining whether a developed application will operate properly with at least one other application
US8464228B2 (en) * 2007-08-23 2013-06-11 Accenture Global Services Limited Binary library
US20090113397A1 (en) * 2007-10-25 2009-04-30 Signetag, Inc. Dynamic, secure software tagging for software asset management with respect to deployment, configuration, and usage
US9218166B2 (en) * 2008-02-20 2015-12-22 Embarcadero Technologies, Inc. Development system with improved methodology for creation and reuse of software assets
US9032390B2 (en) * 2008-07-29 2015-05-12 Qualcomm Incorporated Framework versioning
US7979450B2 (en) * 2008-09-15 2011-07-12 Xsevo Systems, Inc. Instance management of code in a database
US20100115502A1 (en) * 2008-11-06 2010-05-06 Jiva Azeem S Post Processing of Dynamically Generated Code
US8418161B2 (en) * 2008-11-24 2013-04-09 International Business Machines Corporation System and method for loading a called class file table with data indicating a highest version of a class file
US20100138820A1 (en) * 2008-12-01 2010-06-03 Joshi Shrinivas B Framework for Control Flow-Aware Processes
GB0911099D0 (en) * 2009-06-26 2009-08-12 Codeplay Software Ltd Processing method
US20110047531A1 (en) * 2009-08-19 2011-02-24 Wenguang Wang Methods and apparatuses for selective code coverage
US8381194B2 (en) * 2009-08-19 2013-02-19 Apple Inc. Methods and apparatuses for selective code coverage
US8843920B2 (en) * 2009-09-15 2014-09-23 Advanced Micro Devices, Inc. Systems and methods for deferring software implementation decisions until load time
US8701104B2 (en) * 2009-12-14 2014-04-15 Opera Software Asa System and method for user agent code patch management
US8850410B2 (en) * 2010-01-29 2014-09-30 International Business Machines Corporation System using a unique marker with each software code-block
US8464233B2 (en) * 2010-06-21 2013-06-11 Microsoft Corporation Compile time interpretation of markup codes
JP5466601B2 (en) * 2010-08-31 2014-04-09 インターナショナル・ビジネス・マシーンズ・コーポレーション Code generation method, system and program
JP5496849B2 (en) * 2010-10-15 2014-05-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Profile instrumentation method, program, and compiler
US9064238B2 (en) * 2011-03-04 2015-06-23 Factify Method and apparatus for certification of facts
US20130174124A1 (en) * 2011-12-29 2013-07-04 Christina Watters Version numbering in single development and test environment
US20130097584A1 (en) * 2011-10-18 2013-04-18 Michal Ayash Mapping software modules to source code
EP2608487A1 (en) * 2011-12-22 2013-06-26 Thibaud Arnault Method, system and computer program product for providing composite web application
US9489184B2 (en) * 2011-12-30 2016-11-08 Oracle International Corporation Adaptive selection of programming language versions for compilation of software programs
US9052983B2 (en) * 2012-01-16 2015-06-09 International Business Machines Corporation Source code patches
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
US10402208B2 (en) * 2012-06-18 2019-09-03 Microsoft Technology Licensing, Llc Adaptive portable libraries
US9372683B2 (en) * 2012-09-05 2016-06-21 Red Hat Israel, Ltd. Automatic generation of class identifiers from source code annotations
US8984542B2 (en) * 2012-11-30 2015-03-17 Facebook, Inc. Method and system for binding objects in dynamic programming languages using caching techniques
IL224401A (en) * 2013-01-24 2014-04-30 Appendad Ltd Visual designation of a zone in rendered code
US9298450B2 (en) * 2013-10-25 2016-03-29 International Business Machines Corporation Associating a visualization of user interface with source code
US20150128121A1 (en) * 2013-11-06 2015-05-07 Improvement Interactive, LLC Dynamic application version selection
US9134966B2 (en) * 2013-12-12 2015-09-15 International Business Machines Corporation Management of mixed programming languages for a simulation environment
US20160110313A1 (en) * 2014-03-14 2016-04-21 Citta LLC System and method of content creation, versioning and publishing
US9772828B2 (en) * 2014-04-22 2017-09-26 Oracle International Corporation Structural identification of dynamically generated, pattern-instantiation, generated classes
US9465719B2 (en) * 2014-08-12 2016-10-11 Red Hat, Inc. Localized representation of stack traces
US9772829B2 (en) * 2014-09-09 2017-09-26 Liveperson, Inc. Dynamic code management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143823A1 (en) * 2003-01-10 2004-07-22 Wei Coach K. System and method for network-based computing
US7707563B2 (en) * 2003-01-10 2010-04-27 Nexaweb Technologies Inc System and method for network-based computing
US20070143747A1 (en) * 2005-08-12 2007-06-21 Jacob Taylor Customer relationship management system and method having code reuse
US7941798B2 (en) * 2005-08-12 2011-05-10 Sugarcrm Customer relationship management system and method having code reuse
US20110302557A1 (en) * 2010-06-03 2011-12-08 International Business Machines Corporation Method, system, and program for executing program
US8806432B2 (en) * 2010-06-03 2014-08-12 International Business Machines Corporation Method, system, and program for executing program

Also Published As

Publication number Publication date
US20170017471A1 (en) 2017-01-19
US10120661B2 (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US11599348B2 (en) Container image building using shared resources
US20190073198A1 (en) Multi-flavored software execution from a singular code base
US11288055B2 (en) Model-based differencing to selectively generate and deploy images in a target computing environment
US10740078B2 (en) Dynamic plugin(s) for cloud application(s)
US9928050B2 (en) Automatic recognition of web application
CN106796508B (en) Fast deployment on cloud platforms
US10033835B2 (en) System, method, and device for remotely operating a server
US20180121320A1 (en) Analysis to check web api code usage and specification
US9015657B2 (en) Systems and methods for developing and delivering platform adaptive web and native application content
CN106815031B (en) Kernel module loading method and device
US20170168778A1 (en) Determining the identity of software in software containers
US10394579B2 (en) Automatically fixing inaccessible widgets during mobile application execution
CN103838573A (en) Application program generation method and device
CN112835568B (en) A project construction method and device
US9436585B1 (en) Image patching in an integrated development environment
US9412070B2 (en) Automatically deriving context when extracting a business rule
US20120066674A1 (en) Techniques for conditional deployment of application artifacts
US20180129544A1 (en) Suggesting Application Programming Interfaces Based on Feature and Context Analysis
US20200379956A1 (en) Version control of electronic files defining a model of a system or component of a system
CN108089870B (en) Method and apparatus for repairing applications
US11726778B2 (en) Translating clusters of a monolith application to microservices
US11157257B2 (en) Automatic cloning of Conda environment into Docker image
AU2016378425B2 (en) Application program running method and apparatus
US10409573B1 (en) Batch script decomposer
US10185706B2 (en) Generating web browser views for applications

Legal Events

Date Code Title Description
STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION