Version 7: Difference between revisions
Line 141: | Line 141: | ||
# New PhoneGapBarcode sample scans barcodes. | # New PhoneGapBarcode sample scans barcodes. | ||
# New i18n Sample. | # New i18n Sample. | ||
# New Office365 sample. | |||
# Lots of fixes and updated to existing samples. | # Lots of fixes and updated to existing samples. | ||
Revision as of 13:02, 15 August 2018
Major New Features
- Multifile support: The nsx file has been reorganized. It now just contains values for project properties. All code, HTML and other text entities are now stored as separate folders and files.
- The Project Folder is the Project. All files for a project are now stored in the project folder. Two projects cannot share a folder. If you need to share files between project, use symbolic links.
- GitHub Support: AppStudio projects are now GitHub compatible.
- Version control: You can now use git (or other utility) for version control.
- Team Development: The combination of multifile and GitHub allows a team of developers to work on the same project.
- External Editing: Having all code, HTML, etc. in separate files allows the use of other editors.
- Toolbox reorganized: All framework related files are now in folders for that framework.
- Advanced syntax checking for JavaScript in the Code Window.
- Internationalization lets your app work in multiple languages.
- Make PDF files from your forms.
Upgrading
If you have AppStudio 6 or older, you will need to get the upgrade to use these new features. You can order it here.
If you like would to try it first, download from the 'Check for Updates' screen in the Help menu. You'll get a demo copy.
Version 7.0.0
Version is still under development. Here's a list of what is new: All items are subject to change.
If you own a previous version of AppStudio, you need to buy the upgrade to use Version 7. You can do this from within the app or from our order form.
Until you have bought the upgrade, you can use AppStudio 7 in Demo mode for up to 30 days. Once you buy, your copy will convert automatically to the full version.
IDE - General
- Only changed files are written out on save.
- App's 'description' property shows in the Help Window when Project Properties is selected.
Code Window
- Format Code now uses the correct indent setting from Preferences.
- JavaScript arrow functions now appear in the Toolbox panel.
- JavaScript myFunc = function() functions now appear in Toolbox panel.
- JavaScript syntax can be checked with a right click. Uses eslint with the AirBNB Style Guide.
Project Explorer
- Add Cut, Copy, Paste to right click on Project Explorer.
- Drag and Drop to Project Explorer window works. Files are put into a folder named 'includes'.
Libraries
- Get rid of Dropbox Datastores library - no longer supported by Dropbox.
- iScroll.js is now stored in the Libraries folder.
- jquery.modal.js is now stored in the Libraries folder.
- fastclick.js is now stored in the Libraries folder.
- Get rid of SpinningWheel - obsolete.
- Added jquery-validation.
- Added i18n.
Toolbox
- All framework related files are now in folders for that framework.
- Toolbox files now end in .json, not .js.
- New _jqmInUse variable. Set to true if jQuery Mobile in use.
- Unneeded references to jQuery removed.
- All controls: New 'Display' property. Can be block, none, etc.
- AS controls: get rid of redundant 'hidden' attribute.
- Container: Add children directly to the control, not a contained DIV. Good for BS.
- Toolbox Files: New !g suffix. Combines multiline statements.
- Toolbox Files: New {eval expression} operator. Allows expression evaluation.
- Toolbox Files: Anything which looks like a list is converted to a string.
- All controls: removed unneeded data-role=none attribute.
Project
- Projects are saved one (and only one) project per folder.
- New project folders have a .appstudio suffix: Project1.appstudio
- Project files are now .project, not .nsx.
- Get rid of unused 'hiddenHeaders' property.
- Get rid of obsolete 'framework' property.
Forms
- Form.reset() now clears subforms and other controls.
Runtime
- jQuery 3 is used unless it's a jQM project, when jQuery 2 is used instead.
- Correct use of Octal notation
- Some declarations fixed for ECMA5 standard.
- New loadType property sets how each external JavaScript is loaded.
- The Bootstrap 4 functions are processed using Babel, so they will work on IE.
- Snackbar(message, actionText, action) function added.
- Control bounds of 'auto' no longer in generated code - lots less output!
Preferences
Deploy
- close.png was not being used, so is no longer deployed.
PhoneGap
- WinPhone option deleted. No longer supported by Microsoft.
- Set allow-intent to a default value. Allows mailto:, tel:, etc.
- cli8.0.0 is now supported (and recommended).
- Show error messages on PhoneGap Status screen.
Frameworks
AppStudio
- All of the AppStudio controls are now stored in an 'as' folder in the Toolbox.
Bootstrap 4
Bootstrap 4 has been added as a new Framework. It should be used for new projects, though Bootstrap 3 still appears and works fine. You cannot use BootStrap 3 and 4 in the same project - they conflict.
- Uses open-iconic icons instead of Font Awesome.
- 6 new themes.
- Hamburger: Remove default value for background color.
Bootstrap 3
- File dependencies corrected for FlipToggle, Image, Media, Slider and Thumbnail.
- Select: 'undefined' no longer appears in definition.
Common
- Line, ProgressBar: Redundant properties removed.
- Signature control redone. Works on PhoneGap, has variable line thickness.
- Header control always positions in top left of form.
jQuery Mobile
jQuery Mobile has gone yet another year without a new release - not even for maintenance. It's looking pretty dead. This framework is not suggested for new projects.
- Collapsible: Now properly identified as a jQM14 control. Breaking change - you will need to delete and add back to your project any Collapsible controls you are using.
- Select: selectedItem() and selectedValue() no longer have error is no items on list.
jqWidgets
- jqxLinearGauge: New control
- Cleaned up use of _base in jqWidgets.
- jqxDragNDrop: now works with latest jqWidgets.
- iqxTree: now works with latest jqWidgets.
- jqxScheduler: added agendaView, other tuneups.
- jqxDateTime: now works with latest jqWidgets.
BASIC
- New Const keyword for declarations.
Samples
- Samples all converted to new save format.
- New samples for Bootstrap 4
- New Validation sample.
- New Snackbar sample.
- New PhoneGapReceiveSMS sample.
- New PhoneGapMail sample emails current Form.
- New PhoneGapBarcode sample scans barcodes.
- New i18n Sample.
- New Office365 sample.
- Lots of fixes and updated to existing samples.
Documentation
Internals
- Code Signing certificate updated.
- Node updated to Version 8.
Breaking Changes
- Collapsible: Now properly identified as a jQM14 control. You will need to delete and add back to your project any Collapsible controls you are using.