Document Details

ImprovingNessie

Uploaded by ImprovingNessie

De La Salle Santiago Zobel School

Tags

web development app development programming notes software design

Summary

These notes cover the topic of a web viewer app, discussing its components, events, properties, and data types. The document includes details on user-initiated events, sensor events, automatic events, and timer events. This overview focuses on fundamental coding concepts related to app development.

Full Transcript

Web viewer app - a collection of different websites w/c contains preferred themes or categories Web viewer component displays - an online material instantly, allowing you to keep track of significant events on phone - may utilize it, especially if you want to make an app about a specific subjec...

Web viewer app - a collection of different websites w/c contains preferred themes or categories Web viewer component displays - an online material instantly, allowing you to keep track of significant events on phone - may utilize it, especially if you want to make an app about a specific subject and get frequent updates Benefits: - min. misinfo b/c of sorting the trusted websites - lessen the # of potential victims of phishing websites - save time and effort when looking for reliable info Events and Properties Events handler block - how the app should react to specific event - before, during, after - either user-initiated or automated User-initiated event - inc. clicking a button, touching or moving the screen and tilting the phone A sensor event - another sort of user-initiated event - when user move the phone in specific direction or to a specific location, the orientation sensor, accelerometer and location sensor all have events that are called Automatic event EX) collisions b/t sprites or with canvas edges A timer event - another sort of automated event - TimerInterval attribute is present in both clock and sprite components - started for an item each time the interval expires or the timer “ticks” Properties - attributes or features that characterize a component - event component has diff sets of properties Events Properties On_Start Brand On_Break Model On_Park Color Button Click - an event block that initiates upon clicking the button component Open Another Screen - command block used to open other screens Screen name - an expression block containing the name of the screen Call Web Viewer - a command block specifying to search for a URL Text String - an expression block where can input text like URL DATA TYPE Common data types: - numbers (numeric) - strings (alphanumeric, words) - booleans (true, false) Number - within Math blocks - performing mathematical equation String - text block - manipulate text like transforming the big letter to small or even combining text Boolean - true or false - logic block - a logical sequence of code that needs to come up with a decision Variable - store different types of data where the value can be changed even while the code is running Naming a Variable - the name won’t be recognized by the block if set a number as the 1st character in the variable name and when include special characters on it - If put white spaces, it will turn into an underscore Arithmetic Operators Operators - mathematical sign (+ - x /) - special symbols in programming that manipulate the operands - Arithmetic, relational and logical Arithmetic operators - inc. addition, subtraction, multiplication, division, modulus and exponential - makes apps more functional because of the calculation and numerical manipulation

Use Quizgecko on...
Browser
Browser