WP App Studio 5.3.0 Release Notes

WP App Studio Professional WordPress Development Platform

With Wp App Studio 5.3 version, we are moving more and more towards to our goal of creating a fully featured integrated development environment (IDE) for WordPress. We think the addition of a PHP field in app settings and ability to write PHP code in view layouts will help us achieve this goal. If you need to write PHP code in view layouts, just use [PHP]Code here[/PHP] format. Thanks to the CodeMirror integration, you also have an excellent code editor supporting PHP, JavaScript and HTML.

You can write your own PHP code in WP App Studio 5.3 using CodeMirror editor

Another major improvement is the introduction of EMD templating system which, we believe, will fix the issues related to the themes with unorthodox markup. If you use EMD templating system, you need to wrap your attributes, taxonomies and relationships in "emd_is_item_visible() function in a PHP code snippet. If WPAS detects this function's usage, it auto creates customization tab in the settings. The new templating system allows users to enable, disable, or hide(from frontend only) attributes, taxonomies or relationships without modifying user's theme template files and comes with EMD Widget area which can be used to display widgets in the generated plugin's pages. WPAS ProDev owners can enable or disable this feature and switch back to theme based templating system.

WPAS 5.3 also auto creates some tools for administrators to improve plugin performance and provides a CSS area (Tools tab of the generated plugin's settings) where you can write plugin specific code.The CSS code written in this area must be only applicable to and works in plugin pages. Check out eMarket Design YouTube channel for videos and more.

WP App Studio 5.3 auto-creates plugin customization options and tools

Ability to export and import entity configurations is another step forward to improve reusability of plugin data model. You can use this feature, if an entity is used in multiple apps. Instead recreating the same entity configuration and attributes, export entity metadata and import it to the new app, saving yourself some more time on development.

We also did some improvements in page load times by displaying app tags in view layouts on demand, included code to improve menu structure in the admin area and more. We hope that this change will help developers get better results in lower end computers or hosting environments. There are other additions, improvements and fixes as well. Please refer to the What's new tab under Getting Started page for the complete list.

The next WPAS version will continue improving WP App Studio plugin, the platform generated code and integrating technologies which can help us make WordPress the preferred application development platform. Happy Coding 🙂

The Plugins created using the WPAS 5.3

WP App Studio 5.3.0 Change Summary

FIX

Webkit browser dropdown value display issue

Optgroup tags which are used to group related options in a drop-down list were not coded correctly in some dropdowns. This issue prevented users from distinguishing groups from values in some dropdowns.

TWEAK

Replaced the text areas related to coding with CodeMirror

CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing functionality. We have replaced the text areas used for HTML, JS, CSS and PHP code with CodeMirror and its corresponding language addon.

TWEAK

Load layout tags on demand

We have started loading layout tags when show tags button clicked improving page load performance for lower end setups.

TWEAK

Catching WordPress session expiration issues

When WordPress session expires you can not save your design since you need to login again. We display an error message when your WordPress session expires so you do not work on a dead session.

NEW

New Gravatar function to display user gravatars in views

!#gravatar[Email Field,'Class','Size','Height','Width','Default','Alt','Rating']# Example; !#gravatar[!#ent_attendee_email#,'emd-img img-circle','48','Default','Default','Default',!#ent_attendee_full_name#,'Default']#

NEW

Added filtering capability in relationship views

attr::emd_event_startdate::greater_than_eq::current_date; Filters the events greater than equal to current date

NEW

1-many relationships can have attributes

Previously only many-to-many relationships could have relationship attributes. For example, an event can happen in at most one venue and to be able to have an event on a venue, one needs to have a venue specific contract approved and signed. If you need to keep track of this contract signing, you can create a relationship attribute in the event to venue relationship.

NEW

Multiselect and datetime relation attribute types

You can use these in almost everywhere. For example, a faculty may have different office hour times in many offices. If you want to display office hour specific to an office unit, you can use datetime relationship attribute. Check out Campus Directory Pro demo site to see how we implemented this feature in faculty pages.

NEW

Ability to export entity configuration

If you want to reuse your entities and save more time in development, you can export and then import them to another app. The export includes entity and attribute configuration allowing you to have standard entity types such as person, product or place.

NEW

Enable dashicons in view layouts

If you want to use WordPress dashicons in your layouts, check the "Enable Dashicons" checkbox and use the icon(s) in your code. Remember you can include your web font in the font field of Code tab in app settings.

NEW

Taxonomy visible in admin list checkbox

Sometimes, you do not want to include certain taxonomies in the entity list. "Visible in Admin list" checkbox was added to support this need.

NEW

Custom templating system

To minimize theme related issue, all WPAS generated plugin now support EMD Templating system writing custom template files for plugin pages. Alternatively, you can disable this feature and use the installed theme's template files.

If you use EMD templating system, you need to wrap your attributes, taxonomies and relationships in "emd_is_item_visible() function in a PHP code snippet. If WPAS detects this functions usage, it auto creates customization tab in the settings. The new templating system allows users to enable, disable, or hide(from frontend only) attributes, taxonomies or relationships without modifying user's theme template files.

The new templating system comes with EMD Widget area where you can display sidebar widgets in the plugin pages only. It is standard widget area for all WPAS plugins. The location of EMD Widget area can be changed in the plugin settings as well. See example image on the left and the video showcasing WP Easy Events Pro WordPress plugin customization video (https://www.youtube.com/watch?v=-jaJ3PdMXJM) for more info.

To completely disable this feature check "Remove Visibility Settings" checkbox under Misc tab of app settings.

NEW

Write PHP to support complex requirements

You can write PHP code in view layouts and in the PHP field of Code tab in the app settings to implement complex requirements without being limited to WPAS or WordPress API.

NEW

Many-to-one relationship type support

If you need to define Many-to-one relationships, it is available now.

About WP App Studio

WP App Studio is a visual WordPress design and development platform offered as a service by eMarket Design.

Leave a Reply

Your email address will not be published. Required fields are marked *