Tutorial by Topics: out

A layout defines the visual structure for a user interface, such as an activity or widget. A layout is declared in XML, including screen elements that will appear in it. Code can be added to the application to modify the state of screen objects at runtime, including those declared in XML. and...
int read(byte[] b) throws IOException Note that most of the time you do NOT use InputStreams directly but use BufferedStreams, or similar. This is because InputStream reads from the source every time the read method is called. This can cause significant CPU usage in context switches into an...
timeoutID = setTimeout(function() {}, milliseconds) intervalID = setInterval(function() {}, milliseconds) timeoutID = setTimeout(function() {}, milliseconds, parameter, parameter, ...) intervalID = setInterval(function() {}, milliseconds, parameter, parameter, ...) clearTimeout(timeoutID) cle...
The Rails router recognizes URLs and dispatches them to a controller's action. It can also generate paths and URLs, avoiding the need to hardcode strings in your views. "Routing" in general is how URL's are "handled" by your app. In Rails case it's typically which control...
The Flexible Box module, or just 'flexbox' for short, is a box model designed for user interfaces, and it allows users to align and distribute space among items in a container such that elements behave predictably when the page layout must accommodate different, unknown screen sizes. A flex containe...
FunctionDetailsob_start()Starts the output buffer, any output placed after this will be captured and not displayedob_get_contents()Returns all content captured by ob_start()ob_end_clean()Empties the output buffer and turns it off for the current nesting levelob_get_clean()Triggers both ob_get_cont...
As with other relational database systems, SQL Server exposes metadata about your databases. This is provided through the ISO Standard INFORMATION_SCHEMA schema, or the SQL Server-specific sys catalog views.
Subroutines get their arguments to magic variable called @_. While it doesn't have to be unpacked, it's recommended, as it helps readability, and prevents accidental changes as arguments of @_ are passed by reference (can be modified).
AttributeDescriptionGlobalAttributes that are available to any HTML5 element. For comprehensive documentation of these attributes see: MDN Global AttributesnameA string representing the name of an output. As a form element, output can be referenced by it's name using the document.forms property. Th...
Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views. Source NSLayoutConstraint(item: Any, attribute: NSLayoutAttribute, relatedBy: NSLayoutRelation, toItem: Any?, attribute: NSLayoutAttribute, multiplier: ...
This section provides an overview of what knockout.js is, and why a developer might want to use it. It should also mention any large subjects within knockout.js, and link out to the related topics. Since the Documentation for knockout.js is new, you may need to create initial versions of those r...
This section provides an overview of what android-layout is, and why a developer might want to use it. It should also mention any large subjects within android-layout, and link out to the related topics. Since the Documentation for android-layout is new, you may need to create initial versions o...
Functions and subroutines, in conjunction with modules, are the tools to break down a program into units. This makes the program more readable and manageable. Each one of these units can be thought of as part of the code that, ideally, could be compiled and tested in isolation. The main program(s...
There are a few more tricks we can do with the router (such as restricting access), but those can be covered in a separate tutorial. If you need a new route, simply modify app.routes.ts and follow the following steps: Import the Component Add to the routes array. Make sure to include a new pa...
ParameterDetailsRETURNSSpecifies the data type that can be returned from a function.RETURNActual variable or value following the RETURN syntax is what is returned to where the function was called from. A stored routine is either a procedure or a function. A procedure is invoked using a CALL st...

Page 1 of 7