1. Field
Embodiments of the invention relate to integrated development environments for software development. More particularly, embodiments of the invention related to modular integrated development environments.
2. Description of the Related Technology
An integrated development environment (IDE) generally provides a set of comprehensive tools to computer programmers for software development. An IDE generally may include a source code editor, a compiler and/or interpreter, and build automation tools. Most IDEs also include a debugger. Some IDEs contain version control system and various other tools to assist in software development. Many modern IDEs also have a class browser, an object inspector, and a class hierarchy diagram, for use with object oriented software development. Many modern IDEs provide windowed graphical user interfaces.
Generally, an IDE provides software development capabilities for a specific programming language. This enables the IDE to provide a feature set which is closely coupled to the programming paradigm for the specific programming language. For example, an IDE may have build automation tools and a debugger specifically designed to work with the JAVA programming language. Recently, many IDEs have incorporated support for multiple programming languages. This allows a single IDE to be used to develop software for multiple projects spanning multiple programming languages instead of using one IDE per programming language.
IDEs provide a comprehensive tool set for software development. Using an IDE, a software developer can view and edit code, build the software program, and often test and debug their program, all within one environment. This greatly enhances a software developer's productivity and efficiency. Since all of the tools are integrated and work together smoothly, the developer no longer needs to set up multiple applications to edit, build and test the program. For example, code can be compiled while being written, providing instant feedback on syntax errors. In addition, IDEs not only provide a holistic view of the program through class browsers and class hierarchy diagrams, but they allow the developer to focus in on the finer grain details of the program, such as variable values or function calls.
Many IDEs are currently available to software developers. Some of the most commonly used IDEs include Microsoft Visual Studio, Freescale CodeWarrior, Eclipse and Apple Xcode.
Exemplary embodiments are explained in greater detail in the following description and are illustrated in the drawings, in which:
Embodiments of the present disclosure provide for an integrated development environment that easily allows the software developer to build the same software application or project for multiple platforms without having to make modifications to the source code, or to the build settings in the environment. For example, by simply selecting the target platform, the IDE would automatically use the correct libraries, build tools and other modules need to compile the application. This allows a program to be developed for one platform, but to be ported to another platform with minimal effort from the software developer.
Embodiments may now be described with reference to the accompanying Figures, wherein like numerals refer to like elements throughout. The terminology used in the description presented herein is not intended to be interpreted in any limited or restrictive manner, simply because it is being utilized in conjunction with a detailed description of certain specific embodiments. Furthermore, embodiments may include several novel features, no single one of which is solely responsible for its desirable attributes or which is essential to practicing the inventions herein described.
In
A simulated platform may be a device. In other words, the architecture allows a simulated device to be used exactly as a real device for the purposes of building, testing, etc (subject of course to physical limitations, e.g. the simulated device might not have all the features of the physical device, such as an actual phone baseband etc). In one embodiment, the simulated device may be implemented as another platform alongside the platform for the physical device. In another embodiment, it may be implemented using the same platform as the physical device. This can be done differently for different platforms depending on their capabilities (e.g. an instruction-level “emulator” might build using the same tools as those used for the physical device).
For example, platform module 221 may be used to build a program for a mobile computing device or a developer's simulator for that mobile computing device. A plurality of modules may be used by IDE 220 to build a program for a particular platform. For example, platform modules 222 and 223 may be used to build a program for a mobile computing device. In addition, one platform module may be used to build a program for multiple modules. For example, platform module may be used to build a program for various computing platforms.
IDE 220 may communicate with an unlimited number of platform modules. A new platform module may be added at any time when a developer needs to build a program for a new platform. In one embodiment, adding a new platform module may be done by installing the module at a particular location on a memory storage device of a computer system. In this embodiment, IDE 220 allows a developer to change a build from one platform to another platform by simply selecting an option in a user interface menu within the IDE 220.
In this embodiment, IDE 220 contains a comprehensive set of tools that may be used to develop software on all platforms. For example, a source code editor, a default compiler, a default linker and a default debugger may be included in IDE 220. IDE 220 is configured to run on a particular platform. The platform modules 221-225 factor out the differences between the platform that IDE 220 runs on and the target platforms. For example, platform module 221 is used to build a program for an Mobile computing device platform. Xcode IDE 220 runs on a Mac platform. Platform module 221 may contain information such as libraries, headers, project templates, build tools and other data that may not be present on the Mac platform or is different from what is used on the Mac platform. A different compiler, linker or debugger may be used when building and testing a program for the iPod Touch platform when compared to building the same program for the Mac platform. In addition, the library files used by a program on the iPod Touch platform may be different than the libraries that are used on the Mac platform.
A platform module defines the characteristics for a particular platform. In one embodiment, a platform module may include one or more property lists. A property list may be a data driven text based file which provides information to an IDE for a particular platform. In another embodiment, the property list may not be in a text-based format. In one embodiment, the platform module is created by the developer of the IDE. In another embodiment, a platform module is created by a third party developer.
In one embodiment, the property list may contain predefined macros. A predefined macro may include a well-defined name and an optional default value. In some embodiments, a predefined macro may be given an identification such that the identification conveys the concept that the predefined macro embodies. For example, a predefined macro may be identified with the name “microprocessor” and the optional default value may be “Intel x86.” The “microprocessor” macro may provide information to the IDE regarding what type of processor the program may run on. In another example, a predefined macro may be identified with the name “optimization” and the default value may be “None.” The “optimization” macro may provide information to the IDE regarding whether or not the compiler should attempt to optimize the generated code. In another example, a predefined macro may be indentified with the name “tool chain.” The “tool chain” macro may provide information regarding the path of a build tool to invoke, provide command line options for the build tool, cause other environment variables to be set or the macro may be used to modify the context in which the tool is invoked.
In one embodiment, the IDE may provide a default value for each well-defined name. A platform module may in turn, override the default value with a value that is specific to a particular platform. In another embodiment, the platform may provide new predefined macros that are not provided by the IDE. These new macros may further define aspects or setting for a particular platform that the IDE may use when building a program for the platform. A developer may also define their own new predefined macros. A developer may choose any name for a predefined macro. Developers may or may not choose a name that conveys the concept or purpose of the macro. In another embodiment, the IDE may provide a list of predefined macros that are included by default with the IDE and the concepts or purposes of the macros. Thus, the names of predefined macros included with the IDE are “well-defined.” In one embodiment, the platform module may provide a list of the predefined macros included in the module. In another embodiment, the developer may generate documentation which provides a list of new predefined macros defined by the developer.
In one embodiment, a platform module may define different policies for different platforms. For example, a platform module may define a policy regarding digital signing for applications. The policy may require that all applications must be digitally signed. In another example, a platform module may define a policy regarding the strictness of compiler warnings. The policy may allow a program to be built even though warnings occur during the build process. Policies may define a variety of parameters including but not limited to behaviors, requirements or restrictions for a particular platform.
In one embodiment, a platform module may also contain provisioning information for a platform. Provisioning information may provide information regarding specific features or services provided by a device or platform. For example, mobile device may be provisioned to view streaming multimedia. In another embodiment, a platform module contains provision information pertaining to developer features for a particular device or platform. In this embodiment, a developer may develop and test software on the device only if the device has been provisioned for software development and the developer has been authorized to develop the software. A platform module may contain provisioning information including but not limited to the list of devices that have been provisioned for development and cryptographically secure certificates signifying that the developer has been authorized to develop software for the device.
In one embodiment, a platform module may also contain project templates. These templates may be basic source code and project shells that may be used to start development of an application. Project templates not only provide a starting point for developing a program for a platform, but they allow projected based multi-platform development. In one embodiment, all the platform modules may contain a general project template for a web application. This project template may be used to develop a web application that runs across multiple platforms. The web application would function in the same manner and have the same user interface regardless of the platform.
Referring to
In some implementations, the mobile device 600 includes a touch-sensitive display 602. The touch-sensitive display 602 can be implemented with liquid crystal display (LCD) technology, light emitting polymer display (LPD) technology, or some other display technology. The touch-sensitive display 602 can be sensitive to haptic and/or tactile contact with a user.
In some implementations, the touch-sensitive display 602 may include a multi-touch-sensitive display 602. A multi-touch-sensitive display 602 can, for example, process multiple simultaneous touch points, including processing data related to the pressure, degree, and/or position of each touch point. Such processing facilitates gestures and interactions with multiple fingers, chording, and other interactions. Other touch-sensitive display technologies can also be used, e.g., a display in which contact is made using a stylus or other pointing device. Some examples of multi-touch-sensitive display technology are described in U.S. Pat. Nos. 6,323,846, 6,570,557, 6,677,932, and 6,888,536, each of which is incorporated by reference herein in its entirety.
In some implementations, the mobile device 600 can display one or more graphical user interfaces on the touch-sensitive display 602 for providing the user access to various system objects and for conveying information to the user. In some implementations, the graphical user interface can include one or more display objects 604, 606. In the example shown, the display objects 604, 606, are graphic representations of system objects. Some examples of system objects include device functions, applications, windows, files, alerts, events, or other identifiable system objects.
In some implementations, the mobile device 600 can implement multiple device functionalities, such as a telephony device, as indicated by a Phone object 610; an e-mail device, as indicated by the Mail object 612; a map devices, as indicated by the Maps object 614; a Wi-Fi base station device (not shown); and a network video transmission and display device, as indicated by the Web Video object 616. In some implementations, particular display objects 604, e.g., the Phone object 610, the Mail object 612, the Maps object 614, and the Web Video object 616, can be displayed in a menu bar 618. In some implementations, device functionalities can be accessed from a top-level graphical user interface, such as the graphical user interface illustrated in
In some implementations, the mobile device 600 can implement a network distribution functionality. For example, the functionality can enable the user to take the mobile device 600 and provide access to its associated network while traveling. In particular, the mobile device 600 can extend Internet access (e.g., Wi-Fi) to other wireless devices in the vicinity. For example, mobile device 600 can be configured as a base station for one or more devices. As such, mobile device 600 can grant or deny network access to other wireless devices.
In some implementations, upon invocation of a device functionality, the graphical user interface of the mobile device 600 changes, or is augmented or replaced with another user interface or user interface elements, to facilitate user access to particular functions associated with the corresponding device functionality. For example, in response to a user touching the Phone object 610, the graphical user interface of the touch-sensitive display 602 may present display objects related to various phone functions; likewise, touching of the Mail object 612 may cause the graphical user interface to present display objects related to various e-mail functions; touching the Maps object 614 may cause the graphical user interface to present display objects related to various maps functions; and touching the Web Video object 616 may cause the graphical user interface to present display objects related to various web video functions.
In some implementations, the top-level graphical user interface environment or state of
In some implementations, the top-level graphical user interface can include additional display objects 606, such as a short messaging service (SMS) object 630, a Calendar object 632, a Photos object 634, a Camera object 636, a Calculator object 638, a Stocks object 640, a Address Book object 642, a Media object 644, a Web object 646, a Video object 648, a Settings object 650, and a Notes object (not shown). Touching the SMS display object 630 can, for example, invoke an SMS messaging environment and supporting functionality; likewise, each selection of a display object 632, 634, 636, 638, 640, 642, 644, 646, 648, and 650 can invoke a corresponding object environment and functionality.
Additional and/or different display objects can also be displayed in the graphical user interface of
In some implementations, the mobile device 600 can include one or more input/output (I/O) devices and/or sensor devices. For example, a speaker 660 and a microphone 662 can be included to facilitate voice-enabled functionalities, such as phone and voice mail functions. In some implementations, an up/down button 684 for volume control of the speaker 660 and the microphone 662 can be included. The mobile device 600 can also include an on/off button 682 for a ring indicator of incoming phone calls. In some implementations, a loud speaker 664 can be included to facilitate hands-free voice functionalities, such as speaker phone functions. An audio jack 666 can also be included for use of headphones and/or a microphone.
In some implementations, a proximity sensor 668 can be included to facilitate the detection of the user positioning the mobile device 600 proximate to the user's ear and, in response, to disengage the touch-sensitive display 602 to prevent accidental function invocations. In some implementations, the touch-sensitive display 602 can be turned off to conserve additional power when the mobile device 600 is proximate to the user's ear.
Other sensors can also be used. For example, in some implementations, an ambient light sensor 670 can be utilized to facilitate adjusting the brightness of the touch-sensitive display 602. In some implementations, an accelerometer 672 can be utilized to detect movement of the mobile device 600, as indicated by the directional arrow 674. Accordingly, display objects and/or media can be presented according to a detected orientation, e.g., portrait or landscape. In some implementations, the mobile device 600 may include circuitry and sensors for supporting a location determining capability, such as that provided by the global positioning system (GPS) or other positioning systems (e.g., systems using Wi-Fi access points, television signals, cellular grids, Uniform Resource Locators (URLs)). In some implementations, a positioning system (e.g., a GPS receiver) can be integrated into the mobile device 600 or provided as a separate device that can be coupled to the mobile device 600 through an interface (e.g., port device 690) to provide access to location-based services.
In some implementations, a port device 690, e.g., a Universal Serial Bus (USB) port, or a docking port, or some other wired port connection, can be included. The port device 690 can, for example, be utilized to establish a wired connection to other computing devices, such as other communication devices 600, network access devices, a personal computer, a printer, a display screen, or other processing devices capable of receiving and/or transmitting data. In some implementations, the port device 690 allows the mobile device 600 to synchronize with a host device using one or more protocols, such as, for example, the TCP/IP, HTTP, UDP and any other known protocol.
The mobile device 600 can also include a camera lens and sensor 680. In some implementations, the camera lens and sensor 680 can be located on the back surface of the mobile device 600. The camera can capture still images and/or video.
The mobile device 600 can also include one or more wireless communication subsystems, such as an 802.11b/g communication device 686, and/or a Bluetooth™ communication device 688. Other communication protocols can also be supported, including other 802.x communication protocols (e.g., WiMax, Wi-Fi, 3G), code division multiple access (CDMA), global system for mobile communications (GSM), Enhanced Data GSM Environment (EDGE), etc.
In some implementations, each of one or more system objects of device 600 has a set of system object attributes associated with it; and one of the attributes determines whether a display object for the system object will be rendered in the top-level graphical user interface. This attribute can be set by the system automatically, or by a user through certain programs or system functionalities as described below.
Sensors, devices, and subsystems can be coupled to the peripherals interface 706 to facilitate multiple functionalities. For example, a motion sensor 710, a light sensor 712, and a proximity sensor 714 can be coupled to the peripherals interface 706 to facilitate the orientation, lighting, and proximity functions described with respect to
A camera subsystem 720 and an optical sensor 722, e.g., a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, can be utilized to facilitate camera functions, such as recording photographs and video clips.
Communication functions can be facilitated through one or more wireless communication subsystems 724, which can include radio frequency receivers and transmitters and/or optical (e.g., infrared) receivers and transmitters. The specific design and implementation of the communication subsystem 724 can depend on the communication network(s) over which the mobile device is intended to operate. For example, a mobile device can include communication subsystems 724 designed to operate over a GSM network, a GPRS network, an EDGE network, a Wi-Fi or WiMax network, and a Bluetooth™ network. In particular, the wireless communication subsystems 724 may include hosting protocols such that the mobile device may be configured as a base station for other wireless devices.
An audio subsystem 726 can be coupled to a speaker 728 and a microphone 730 to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and telephony functions.
The I/O subsystem 740 can include a touch screen controller 742 and/or other input controller(s) 744. The touch-screen controller 742 can be coupled to a touch screen 746. The touch screen 746 and touch screen controller 742 can, for example, detect contact and movement or break thereof using any of a plurality of touch sensitivity technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 746.
The other input controller(s) 744 can be coupled to other input/control devices 748, such as one or more buttons, rocker switches, thumb-wheel, infrared port, USB port, and/or a pointer device such as a stylus. The one or more buttons (not shown) can include an up/down button for volume control of the speaker 728 and/or the microphone 730.
In one implementation, a pressing of the button for a first duration may disengage a lock of the touch screen 746; and a pressing of the button for a second duration that is longer than the first duration may turn power to the mobile device on or off. The user may be able to customize a functionality of one or more of the buttons. The touch screen 746 can, for example, also be used to implement virtual or soft buttons and/or a keyboard.
In some implementations, the mobile device can present recorded audio and/or video files, such as MP3, AAC, and MPEG files. In some implementations, the mobile device can include the functionality of an MP3 player, such as an iPod™. The mobile device may, therefore, include a 32-pin connector that is compatible with the iPod™. Other input/output and control devices can also be used.
The memory interface 702 can be coupled to memory 750. The memory 750 can include high-speed random access memory and/or non-volatile memory, such as one or more magnetic disk storage devices, one or more optical storage devices, and/or flash memory (e.g., NAND, NOR). The memory 750 can store an operating system 752, such as Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks. The operating system 752 may include instructions for handling basic system services and for performing hardware dependent tasks. In some implementations, the operating system 752 can be a kernel (e.g., UNIX kernel).
The memory 750 may also store communication instructions 754 to facilitate communicating with one or more additional devices, one or more computers and/or one or more servers. The memory 750 may include graphical user interface instructions 756 to facilitate graphic user interface processing; sensor processing instructions 758 to facilitate sensor-related processing and functions; phone instructions 760 to facilitate phone-related processes and functions; electronic messaging instructions 762 to facilitate electronic-messaging related processes and functions; web browsing instructions 764 to facilitate web browsing-related processes and functions; media processing instructions 766 to facilitate media processing-related processes and functions; GPS/Navigation instructions 768 to facilitate GPS and navigation-related processes and instructions; camera instructions 770 to facilitate camera-related processes and functions; and/or other software instructions 772 to facilitate other processes and functions, e.g., access control management functions. The memory 750 may also store other software instructions (not shown), such as web video instructions to facilitate web video-related processes and functions; and/or web shopping instructions to facilitate web shopping-related processes and functions. In some implementations, the media processing instructions 766 are divided into audio processing instructions and video processing instructions to facilitate audio processing-related processes and functions and video processing-related processes and functions, respectively. An activation record and International Mobile Equipment Identity (IMEI) 774 or similar hardware identifier can also be stored in memory 750.
The system may include various modules, tools, and applications as discussed in detail above. As can be appreciated by one of ordinary skill in the art, each of the modules may include various sub-routines, procedures, definitional statements and macros. Each of the modules are typically separately compiled and linked into a single executable program. Therefore, the following description of each of the modules is used for convenience to describe the functionality of the preferred system. Thus, the processes that are undergone by each of the modules may be arbitrarily redistributed to one of the other modules, combined together in a single module, or made available in, for example, a shareable dynamic link library.
The system modules, tools, and applications may be written in any programming language such as, for example, C, C++, BASIC, Visual Basic, Pascal, Ada, Java, HTML, XML, or FORTRAN, and executed on an operating system, such as variants of Windows, Macintosh, UNIX, Linux, VxWorks, or other operating system. C, C++, BASIC, Visual Basic, Pascal, Ada, Java, HTML, XML and FORTRAN are industry standard programming languages for which many commercial compilers can be used to create executable code.
The above-described method may be realized in a program format to be stored on a computer readable recording medium that includes any kinds of recording devices for storing computer readable data, for example, a CD-ROM, a DVD, a magnetic tape, memory card, and a disk, and may also be realized in a carrier wave format (e.g., Internet transmission or Bluetooth transmission).
While specific blocks, sections, devices, functions and modules may have been set forth above, a skilled technologist may realize that there are many ways to partition the system, and that there are many parts, components, modules or functions that may be substituted for those listed above.
While the above detailed description has shown, described, and pointed out the fundamental novel features as applied to various embodiments, it may be understood that various omissions and substitutions and changes in the form and details of the system illustrated may be made by those skilled in the art, without departing from the intent of the invention.
The present application claims priority to U.S. Provisional Application No. 61/033,744, filed Mar. 4, 2008, and entitled PLATFORM SELECTION IN AN INTEGRATED DEVELOPMENT ENVIRONMENT.
Number | Date | Country | |
---|---|---|---|
61033744 | Mar 2008 | US |