Morfik 2 - Beta Release

April, 2008

Morfik 2.0 public Beta release, including a number of new features.

add-new32.png What's New in Morfik

Following are a list of enhancements, new features and bug fixes:

New Features

  • The following is a list of the major new features announced with Release 2 with a short description grouped by the product it applies to.

Themes and Theme-Aware Controls

AppsBuilder gives the developer access to themes, which are organized color palettes and font styles, assigned to different default settings. Themes give the user unprecedented ease in customizing the look of a Morfik-built application or website without interfering with application logic. Themes you add or change are available to you in all your applications. If your Marketing department wants to tweak all your applications to fit a new corporate logo, you can do it in minutes.

Custom themes used in an application are stored within the project so that it can be properly moved to another machine without impact on how the application looks.

New & Custom Controls

Calendar and ProgressBar controls have been added. Morfik 2 introduces a new architecture for custom controls, allowing indepedent developers to develop controls for Morfik. The GoogleMap and Wysiwyg controls are the first controls to take advantage of this architecture.

Morfik Effects

Special graphics effects have been added to all controls where they made sense and to Form Bands. By combining design and graphics tools right into the Form designer Morfik now allows you to create great looking applications and websites easily and quickly.

Split-able Containers

By right-clicking on any container in a Morfik AppsBuilder R2 Form you can select an option to split it either vertically or horizontally. This applies to the Form's bands as well.

Image Bundling

In order to optimize performance in Morfik applications the compiler now bundles together the images it generates for the Morfik Effects. This allows smoother rendering of the web pages that use Morfik Effects.

Clean URLs

Allow users to access your web pages using elegant, easy-to-remember URLs.

Web Actions

AppsBuilder provides a series of predefined actions which can be visually tied to events triggered by controls. This translates into great ease of use for the user who is not an experienced developer, while empowering the experienced developer to create his/her own actions, which are automatically picked up by the Morfik IDE.

Support for OpenSocial and Facebook APIs

AppsBuilder comes with direct support for the OpenSocial and Facebook APIs to allow the user to create applications that interact with these platforms.

Synchronized Browser Code

The new compiler in AppsBuilder automatically generates specialized code to simulate synchronous behavior for browser side code that makes asynchronous function calls, without ever blocking the browser. This makes it much simpler to program certain aspects of application logic. Using this features it is easy, for example, to create simple animations.

Web Service Data Sources

Morfik has always used a Web Services-based architecture to allow its browser-side code to access database information. In AppsBuilder, this architecture has been extended to allow Morfik applications to access any Web Service which conforms to a certain set of rules as a data source. This allows browser-only applications to access data published by other Morfik Applications or by services implemented with other tools such as PHP, .Net or Java.

Auto-Deployment To Cloud Computing Environment

AppsBuilder provides support for hosted cloud computing services. Applications can be automatically deployed from within the IDE. This feature, which runs through a few steps in a Wizard, can be called with a single click, and allows Morfik users to enjoy the easiest and fastest turnaround time to take a project "From Concept To Consumer".

Helper methods

AppsBuilder allows any data type in the supported language types to be extended through the addition of user-defined helper methods. This feature has been used extensively by Morfik to add formatting, conversion and utility methods to all basic data types. This compiler feature, added to the new methods implemented as part of the M2 framework, make the M2 code completion much more powerful and useful as utility ‘functions’ become semantically tied to the data type they are meant to be used with.

Enhanced Compiler

The Morfik AppsBuilder compiler has been enhanced in many ways, including, but not limited to, improved optimization, parallel compiling, full background compiling (without ever blocking the IDE) and the inclusion of new language features such as helper methods.

Enhanced Web Methods

Web Methods (a Morfik implemented Web Service) can be declared in any module, without the need to create Web Method documents for each method. This makes it easier and faster to create more extensive Web Service APIs. It also performs an automatic browser-side import of Web Methods which are declared on the server side of a Form module. Creation of Web Methods applies to Web Application projects only, but both Browser Application projects and Web Application projects can call a Web Method.

Browser Only Applications

Morfik has identified a large demand for what are essentially purely browser applications, be they Facebook applications, Google Widgets or highly interactive front-ends for corporate back-end systems. To address this market, Morfik has introduced the concept of Browser Applications, building on its revolutionary Javascript Synthesis Technology (JST), which focus entirely on browser development technology. These applications are totally server agnostic and can be deployed to any web server in the world. Browser applications can still make Web Service calls. Browser Applications are ideal for companies and individuals who want to enter the social network application space, or that have an established Web presence that they want to enhance.

XML data sources

Browser Applications are able to see XML files as if they were a database table. This allows a user to create a website that can take advantage of several of Morfik’s database-oriented features even though the end application might be browser-only and deployed to any web server.

New Way of Calling Web Services

AppsBuilder allows users to see Web Services as objects with properties to be set before execution and other properties to read after the service execution in order to verify call results. Combined with the synchronized browser code, this feature makes calling Web Services a breeze.

RSS Feed designer

Creating RSS feeds has been made exceedingly easy in AppsBuilder through the addition of an RSS feed editor that allows the user to choose from among his data sources the one which will provide the information for the feed and to visually map the data source’s fields with the RSS information slot.

download32.png Download

On the download page, you will have the option of choosing from three different versions of Morfik that differ in the programming language used. Choose the version with the programming language that you are familiar with. The installation steps are identical whether you purchased your copy or are using the trial version.

download16.png  Download Full version

To install Morfik:
1. Open the downloaded Zip file with a tool such as WinZip™ or other compatible program.
2. Double-click the single .EXE file contained in the Zip file.
3. Follow the instructions and prompts in the Setup Wizard to complete the installation.

cd_run-install32.png Installation

This maintenance update is a complete installation (and not a software patch to the existing installed version of Morfik). You may uninstall previous versions of Morfik, however this is not required, and the new update can co-exist next to the previous versions.

bug_yellow32.png Known Issues

Following is a list of known problems with Morfik release (some with a suggested workaround) which will be fixed in future updates or releases:

  1. Please make sure you do a backup of your project(s) before compiling it with Morfik Express or Morfik AppsBuilder.
  2. You can install Express and/or AppsBuilder R2 with AppsBuilder R1.4 and compile your projects with Express or AppsBuilder R2
  3. Following are a list of function and objects that have been renamed:
    1. TServerDateTime -> TDateTime
    2. AsServerDateTime -> AsDateTime
    3. TXMLDateTime -> TDateTime
    4. ReadArray -> ReadList
    5. WriteArray -> WriteList
    6. DelphiNow -> Now
    7. TIB_Column.AsServerDateTime -> TIB_Column.AsDateTime
    8. DWord -> TRequestResult
    9. RequestResult:= HSE_STATUS_SUCCESS; -> RequestResult:= rrOk;
    10. SetTransparencyValue -> SetOpacityValue
  4. Adaptor controls (such as Wysiwyg, Zapatec, GoogleMap,...) currently not functional in this beta release.
  5. The OnShow event does not exist and has now been replaced with OnBeforeShow and OnAfterShow events. You need to reopen all forms where OnShow event is used, and update them with one of the new events mentioned above.
  6. Once a project is converted to M2, all resources will be in the _projectResources folder.
  7. GenerateGUID returns TGUID not string
  8. TFLoatingSubForm is not TWindow inside SystemWindow
  9. Xapp.Forms property returns TAbstractForm and must be typecasted with Form
  10. The Form object is now defined in SystemForm
  11. File uploader has been replaced with a new (Flash based) version. You will need to replace this control with the new version.
  12. Possible errors and the resolutions:
    1. Error: The Close command for a Floating form is not recognized.
    2. Resolution: TWindow(Xapp.GetFloatingSubform(InstanceName)).Close; (import SystemWindow)
    3. Error: ModuleName(Server xx,x): Cannot override a static method,
    4. Resolution: REMOVE Override;
    5. Error: ModuleName(Server 415,40): Undeclared Identifier: TSoapHttpClient.
    6. Resolution: Add SystemXML to uses.
    7. Error: “undeclared identifier!Runwebservice” error message when using RunWebService function like following Runwebservice("myWebMethod","""prmID="&PrmCustID&"""")
    8. Resolution: Most likely the code is not being called from a form. Please try changing it to this:
      XApp.Runwebservice("myWebMethod","""prmID=" &PrmCustID&"""")
      If it still doesn't work, try adding Import SystemControls at the top of the module.
    9. Error: When using “strVar=textedit2.DomHandleArray.Handles.items(i)”,you get the following error:Undeclared Identifier:items
    10. Resolution: Please try it without the explicit Items property: “h = textedit2.DomHandleArray.Handles(i)”
    11. Error: Project would not compile if Using “Class(TSoapHttpClient)”.
    12. Resolution: Try adding SystemXml to the uses clause.
    13. Error: “Undeclared identifier : refreshPage” error message appears when using the following line of code Form1(Xapp.Forms("Form1")).OwnerForm.RefreshPage(Nothing)
    14. Resolution:The RefreshPage method has moved to the Form class, so you need an extra typecast: Form(Form1(Xapp.Forms("Form1")).OwnerForm).RefreshPage(Nothing)
    15. Error: "Undeclared Identifier: TCookieItem".
    16. Resolution: Please use XApp.Cookies[] property to get the value of a cookie.
    17. Error: If getting "Undeclared Identifier: Count" error in code such as this "DOMHandleArray.Handles.Count".
    18. Resolution: Please replace "Count" with "Length" in your code.
    19. Error: Errors when referencing (Use/Import) SystemWindow
    20. Resolution: Replace SystemWindow with SystemForm
  13. To see the build number in version 2, hold Ctrl when invoking Morfik Options dialog, it will display the build number in the bottom left corner.
  14. Express and AppsBuilder have all the required functionalities for auto-deployment implemented but the work on the application server is not yet fully finalized.
  15. If installing on Microsoft Vista, please turn the UAC off before installing the software.
  16. The odbc data connector may cause compiler errors.

Resources32.png Other Resources and Links

Resources16.png   "How Do I?" Videos  Learn by watching training videos on how to perform common tasks within Morfik
Resources16.png   Morfik Developers Assist   Support page provides a list of useful links to various technical resources
Resources16.png   Morfik Support Forum   Browse through the questions and answers, search for specific topics

workplace-system32.png System Requirements

Morfik's software and hardware requirements are as follows:
-Windows XP®, Windows Vista® (32- or 64-bit) or Windows 7® (32- or 64-bit)
-Intel® Pentium class, 1.8 Gigahertz processor or better
-1 GB RAM or more
-1 GB hard disk space (Installer + User Files)
-Monitor 1280x1024 screen resolution or better
-32-bit color, 64 MB graphics memory or better
Morfik is only available as a download, and the installation steps are identical whether you purchased your copy or are using the trial version.

Related Topics

Back to top