AppStudio Course: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
These are the notes for our 4 day course. It assumes the trainees have a programming background. You can follow through the course notes and lab sessions on your own: if you would like on site training please contact us for details.
== Web Apps for Mobile Devices - BASIC ==


You can download a zip file with samples, lab sessions and solution [https://dl.dropboxusercontent.com/u/4451197/AppStudioCourse.zip here].
These are the notes for our course. It assumes the trainees have some programming background. You can follow through the course notes and lab sessions on your own: if you would like on site training please contact us for details.


= Day 1: The IDE and the Language =
The notes here can be used for self study or to conduct a course. It can be taught in as little as 4 long days (one day per section), or through a term.
 
You should have AppStudio installed on your desktop (Windows or Mac) and an iOS or Android device. You can download AppStudio [https://www.nsbasic.com/app/downloads/ here].
 
The lab session apps, as well as their solutions, are installed with AppStudio, in Samples Folder 6.
= Section 1: The IDE and the Language =


'''1. [[Opening remarks]]'''
'''1. [[Opening remarks]]'''
# History of NS BASIC and AppStudio
# History of NSB Corporation and AppStudio
# Preview of next 4 days
# Preview of next 4 days
# Let me know if…
# Let me know if…
Line 30: Line 35:
# jQuery Mobile
# jQuery Mobile
# jqWidgets
# jqWidgets
# iWebKit
# Others
# Others


Line 52: Line 56:
# Questions
# Questions


'''9. [[Chrome Debugger]]'''
'''9. [[Using the Chrome Debugger|Chrome Debugger]]'''
# Sources Tab
# Sources Tab
# Console Tab
# Console Tab
Line 60: Line 64:
<div class="page-break"></div>
<div class="page-break"></div>


= Day 2: Web Services and Device Features =  
= Section 2: Web Services and Device Features =  


''' 11. [[Web Services Fundamentals]]'''
''' 11. [[Web Services Fundamentals]]'''
Line 92: Line 96:


<div class="page-break"></div>
<div class="page-break"></div>
= Day 3: MultiMedia, Social Media and Saving Data =
= Section 3: MultiMedia, Social Media and Saving Data =


'''19. [[LocalStorage made Simple|Saving Data: LocalStorage]]'''
'''19. [[LocalStorage made Simple|Saving Data: LocalStorage]]'''
Line 124: Line 128:
<div class="page-break"></div>
<div class="page-break"></div>


= Day 4: JavaScript, Device Quirks and Deploying =
= Section 4: JavaScript, Device Quirks and Deploying =


'''27. [[JavaScript, HTML, CSS]]'''
'''27. [[JavaScript, HTML, CSS]]'''
Line 143: Line 147:
# PHP
# PHP
# Web Apps vs Hybrid Apps
# Web Apps vs Hybrid Apps
# PhoneGap Build
# VoltBuilder
# Chrome Packaged Apps
# Chrome Packaged Apps



Latest revision as of 14:24, 13 November 2020

Web Apps for Mobile Devices - BASIC

These are the notes for our course. It assumes the trainees have some programming background. You can follow through the course notes and lab sessions on your own: if you would like on site training please contact us for details.

The notes here can be used for self study or to conduct a course. It can be taught in as little as 4 long days (one day per section), or through a term.

You should have AppStudio installed on your desktop (Windows or Mac) and an iOS or Android device. You can download AppStudio here.

The lab session apps, as well as their solutions, are installed with AppStudio, in Samples Folder 6.

Section 1: The IDE and the Language

1. Opening remarks

  1. History of NSB Corporation and AppStudio
  2. Preview of next 4 days
  3. Let me know if…
  4. Questions

2. Hello World - Demonstration

  1. Load sample and run it

3. Tour of the IDE

  1. File Menus
  2. Design Screen
  3. ToolBox
  4. Project Explorer
  5. Properties Window
  6. Code Window
  7. Wiki
  8. Questions

4. Lab Session: Hello World

  1. Joint step by step with entire class

5. Frameworks

  1. jQuery Mobile
  2. jqWidgets
  3. Others

6. Some Controls in depth

  1. Label
  2. Button
  3. TextBox
  4. Sizing and positioning
  5. HeaderBar
  6. List
  7. Form

7. Lab Session: Create an app with some Controls. The app will be built on in subsequent labs.

8. Fundamentals of BASIC

  1. Variables
  2. Control structures
  3. Importing VB code
  4. A few interesting statements
  5. Questions

9. Chrome Debugger

  1. Sources Tab
  2. Console Tab

10. Lab Session: Fix a program with syntax errors and make some enhancements.

Section 2: Web Services and Device Features

11. Web Services Fundamentals

  1. Introduction
  2. CORS and Same Origin Policy
  3. AJAX

12. Data Formats

  1. JSON
  2. JSONP
  3. XML

13. Asynchronous Calls

14. Lab Session: Weather Data Pull in some data from a Weather site and display the data in an app.

15. Mobile Device Features 1

  1. Camera
  2. Emoji
  3. Orientation

16. Lab Session: Device features

17. Mobile Device Features 2

  1. Compass
  2. Geolocation
  3. Accelerometer

18. Lab Session: Play with Features

Section 3: MultiMedia, Social Media and Saving Data

19. Saving Data: LocalStorage

  1. LocalStorage
  2. Sample Program
  3. Chrome Debugger Resources tab

20. Lab Session: Saving data to localStorage

21. Saving Data: SQLite

  1. SQLite Overview
  2. Asynchronous Results
  3. Sample Program

22. Lab Session: Saving data into SQLite

23. MultiMedia

  1. PictureBox: Drawing, text, images, sprites
  2. Multimedia: Audio and Video
  3. HTMLView

24. Lab Session: Multimedia

25. Social Media

  1. Twitter
  2. Facebook
  3. PayPal

26. Lab Session: Add Twitter feed to the app.

Section 4: JavaScript, Device Quirks and Deploying

27. JavaScript, HTML, CSS

  1. What’s behind the scenes?
  2. JavaScript libraries

28. Lab Session: Use a library

29. iOS and Android

  1. Quirks, things to know
  2. Dealing with different screensizes

30. Lab Session: Screen size and rotation

31. Deploying

  1. Differences between AppStudio and AppStudioEDU
  2. Servers
  3. PHP
  4. Web Apps vs Hybrid Apps
  5. VoltBuilder
  6. Chrome Packaged Apps

32. Open Lab Session

  1. Complete work if not done
  2. One on one for those who want some extra