The document provides an overview of iOS development concepts and practices including:
- iOS MVC architecture with controllers, models and views
- View controller lifecycle methods like viewDidLoad and viewWillAppear
- Options for creating views like Storyboards, XIB files, and programmatically
- Networking using NSURLConnection, NSURLSession, and libraries like AFNetworking
- Parsing JSON responses with NSJSONSerialization
- Testing with frameworks like Kiwi and KIF
- Additional libraries for tasks like networking, testing, and beta testing
Presented on 8/14/2012 at BostonRb. This talk provides a nice intro and overview of what RubyMotion is and whether or not it's worth incorporating into your development toolkit.
The document discusses classical inheritance patterns in JavaScript. It provides examples of defining a base Car constructor and inheriting from it to create an ItalianCar constructor. It demonstrates using different classical inheritance patterns like default pattern, rent-a-constructor, rent and set prototype, share prototype, and temporary constructor to inherit properties and methods from the base constructor to the derived constructor.
Non Conventional Android Programming Enguest9bcef2f
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
This document provides an overview of JavaScript for PHP developers. It compares the syntax and core concepts between the two languages. Some of the key points covered include: variables and data types are similar, functions are objects in JavaScript, JavaScript uses prototypes instead of classes, and functions provide scope. The document also summarizes the built-in global functions and properties, common methods for objects like Array and String, and emphasizes that constructor functions are often not needed in JavaScript.
The document provides examples and discussion of different JavaScript coding styles and techniques for classes and objects. It compares using prototypes versus closures and scopes to define object properties and methods. It also provides tips for organizing code through namespacing, avoiding small magics, and preventing stateful code.
Learn You a Functional JavaScript for Great GoodMike Harris
We have been told by just about everyone that we should learning functional programming, let this session be your introduction using a language you already know JavaScript.
Yep, JavaScript. No endless amounts of parentheses. No monadic arrows. Just good old JavaScript.
We'll look take a look at the functional JavaScript landscape see how to use:
Currying
Combinators
Multimethods
We'll be using Underscore.js, allong.es, and bilby.js to help us.
This prototype works, but it's not pretty, and now it's in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it's imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we'll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
The document summarizes techniques for improving app development in Swift. It discusses using the Result enum to model success and failure states from network requests, using the Cartography framework to simplify auto layout code, representing view states with an enum to avoid ambiguity, and defining shared behaviors with protocols to reduce duplicated code. The techniques aim to make code more readable, simplify view controller logic, centralize state management, and prevent duplicated implementation across unrelated types.
Presented on 8/14/2012 at BostonRb. This talk provides a nice intro and overview of what RubyMotion is and whether or not it's worth incorporating into your development toolkit.
The document discusses classical inheritance patterns in JavaScript. It provides examples of defining a base Car constructor and inheriting from it to create an ItalianCar constructor. It demonstrates using different classical inheritance patterns like default pattern, rent-a-constructor, rent and set prototype, share prototype, and temporary constructor to inherit properties and methods from the base constructor to the derived constructor.
Non Conventional Android Programming Enguest9bcef2f
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
This document provides an overview of JavaScript for PHP developers. It compares the syntax and core concepts between the two languages. Some of the key points covered include: variables and data types are similar, functions are objects in JavaScript, JavaScript uses prototypes instead of classes, and functions provide scope. The document also summarizes the built-in global functions and properties, common methods for objects like Array and String, and emphasizes that constructor functions are often not needed in JavaScript.
The document provides examples and discussion of different JavaScript coding styles and techniques for classes and objects. It compares using prototypes versus closures and scopes to define object properties and methods. It also provides tips for organizing code through namespacing, avoiding small magics, and preventing stateful code.
Learn You a Functional JavaScript for Great GoodMike Harris
We have been told by just about everyone that we should learning functional programming, let this session be your introduction using a language you already know JavaScript.
Yep, JavaScript. No endless amounts of parentheses. No monadic arrows. Just good old JavaScript.
We'll look take a look at the functional JavaScript landscape see how to use:
Currying
Combinators
Multimethods
We'll be using Underscore.js, allong.es, and bilby.js to help us.
This prototype works, but it's not pretty, and now it's in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it's imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we'll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
The document summarizes techniques for improving app development in Swift. It discusses using the Result enum to model success and failure states from network requests, using the Cartography framework to simplify auto layout code, representing view states with an enum to avoid ambiguity, and defining shared behaviors with protocols to reduce duplicated code. The techniques aim to make code more readable, simplify view controller logic, centralize state management, and prevent duplicated implementation across unrelated types.
This document discusses JavaScript object-oriented programming concepts like classes, inheritance, prototypes, closures, and more. It provides code examples for creating classes with methods and getter/setters. It also covers cloning objects, extending classes, and binding functions to change the value of 'this'.
iOS 9 introduced several new features including split screen multitasking on iPad, search APIs, app thinning technologies like bitcode and app slicing, keyboard shortcuts, 3D Touch features, updated UI components like UIAlertController and SFSafariViewController, on demand resources, and the new Contacts framework. It also improved existing technologies like Auto Layout with new syntax and components like UIStackView.
This prototype works, but it’s not pretty, and now it’s in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it’s imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we’ll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
This document discusses crafting quality PHP applications. It emphasizes the importance of planning, writing testable code, automating testing and continuous integration/deployment. Key points covered include reducing complexity to improve testability, using different types of tests like unit and integration tests, and conducting code reviews to maintain quality. The overall message is that applying best practices around these areas leads to higher quality applications and higher confidence in releases.
Turn your spaghetti code into ravioli with JavaScript modulesjerryorr
JavaScript is the language that powers the interactive web of the future. But as our web applications become larger and more complex, we begin to strain the old paradigm of throwing a bunch of JavaScript functions into a few files. Complex dependencies, tight coupling, and global state can turn our code into a huge plate of spaghetti. Though browsers do not natively support JavaScript modules, there are many tools that can help us to write clean, modular JavaScript.
In this session, we will explore the benefits of writing modular JavaScript. We will also take a deep dive into specific JavaScript module systems, such as Browserify, RequireJS, and the module standards that are coming in ES6.
Testing ASP.net Web Applications using RubyBen Hall
The document discusses testing ASP.net applications using Ruby and behavior driven development. It provides examples of using RSpec to test an ASP.net application by describing controller behaviors in plain English and writing Ruby tests to validate those behaviors. Key points covered include using RSpec matchers to assert test outcomes and loading the ASP.net application code into Ruby to test it.
Dip Your Toes in the Sea of Security (ConFoo YVR 2017)James Titcumb
Security is an enormous topic, and it’s really, really complicated. If you’re not careful, you’ll find yourself vulnerable to any number of attacks which you definitely don’t want to be on the receiving end of. This talk will give you just a taster of the vast array of things there is to know about security in modern web applications, such as writing secure PHP web applications and securing a Linux server. Whether you are writing anything beyond a basic brochure website, or even developing a complicated business web application, this talk will give you insights to some of the things you need to be aware of.
The document discusses several code examples that demonstrate different software design patterns and principles including:
1) A facade pattern that hides browser-specific event handling code.
2) An observer pattern implemented with a Subject base class that allows objects to observe each other.
3) A singleton pattern example that ensures only one instance of a class can be created.
4) A module pattern example that encapsulates related functions and exposes a public API.
The document discusses the future of JavaScript and the ECMAScript 4 (ES4) specification. Some key points:
- ES4 will introduce classes, inheritance, and other object-oriented features to JavaScript to make it suitable for large applications.
- A new virtual machine called Tamarin is being developed by Adobe and will power future versions of JavaScript across browsers.
- Features like classes, packages, generics and operator overloading are described. The specification aims to make JavaScript more powerful while keeping it usable for small programs.
- The reference implementations of new JavaScript classes and features will be written in JavaScript itself, allowing the language to be self-hosting.
This document provides an overview of Ruby on Rails, including its core components like MVC, Active Record, routing, views, helpers, and generators. It explains how Rails uses conventions to simplify development tasks. It also discusses how Rails is extensible through gems and lists some well-known companies that use Rails in production, like Twitter, GitHub, and Shopify. Additional resources for learning Rails are provided at the end.
Keep It Simple Security (Symfony cafe 28-01-2016)Oleg Zinchenko
This document contains code snippets related to implementing WSSE authentication in Symfony. It includes code for a WSSE token, listener, authentication manager/provider, and factory class. The token holds user details extracted from the HTTP header. The listener extracts credentials from the header and passes them to the manager. The manager authenticates by validating the credentials against the user provider. The factory registers these classes with the security component. The document also mentions voters and ACL as other Symfony security topics.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, prototypes and more to demonstrate JavaScript's capabilities. It emphasizes that libraries help create abstractions and beautiful patterns in JavaScript code.
Kicking off with Zend Expressive and Doctrine ORM (ConFoo YVR 2017)James Titcumb
You've heard of Zend's new framework, Expressive, and you've heard it's the new hotness. In this talk, I will introduce the concepts of Expressive, how to bootstrap a simple application with the framework using best practices, and finally how to integrate a third party tool like Doctrine ORM.
This document discusses frontend validation in Symfony applications. It introduces the UberFrontendValidationBundle which adds validation constraints and error messages to form fields on the frontend. The bundle works by rendering additional HTML5 attributes on fields containing validation data. This allows validating fields on the frontend before form submission using JavaScript.
The document describes a TimelineTableViewController class that is responsible for displaying a timeline. It initializes a TimelinePresenter when loaded, which handles fetching the timeline data and notifying the view controller. The presenter calls a TimelineUseCase to retrieve the timeline and then uses the view controller as an output to update the UI, such as showing/hiding empty and ad views depending on the timeline contents.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, inheritance through prototypes, and AJAX requests. It emphasizes how libraries help create abstractions and beautiful patterns in JavaScript code.
Slides from Ajax Experience 2009. In this session:
- Object creation patterns
- Code reuse patterns
- Functional patterns
- More on object creation
- Design patterns
Some example patterns: object creation with literals and constructos, prototypes, inheritance and other code reuse patterns, lazy definition, callbacks, singleton, factory, classical and prototypal inheritance, namespaces, chaining, modules, static methods, private and privileged members
For more information, see:
http://jspatterns.com
My column in the JavaScript Magazine (http://jsmag.com)
Blog: http://phpied.com
Crafting Quality PHP Applications (PHP Joburg Oct 2019)James Titcumb
This prototype works, but it’s not pretty, and now it’s in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it’s imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we’ll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
Formacion en movilidad: Conceptos de desarrollo en iOS (III) Mobivery
En esta tercera sesión formativa, impartida por Sergi Hernando, CTO de Mobivery, se trataron los siguientes conceptos: UIWebView, View Cotroller en iPad y el Simulador
The document discusses how Apple's file templates for view controllers like UITableViewController violate the single responsibility principle of object-oriented design. It provides an example of refactoring the GitHubViewer iOS app to separate the data access logic from the view controller using a new API client class, thus improving adherence to the single responsibility principle.
Mobile App Development: Primi passi con NativeScript e Angular 2Filippo Matteo Riggio
This document provides an overview and tutorial of building mobile apps with NativeScript and Angular 2. It discusses choosing between native, hybrid, and cross-platform approaches. It then demonstrates setting up a NativeScript project with Angular and making HTTP requests to retrieve Pokemon data to display in a list. It shows implementing user interfaces with grids, lists, images and styles. It also covers adding interactivity, native dialogs, plugins, databases and accessing native APIs. The document provides a helpful introduction to building cross-platform mobile apps with NativeScript and Angular.
This document discusses JavaScript object-oriented programming concepts like classes, inheritance, prototypes, closures, and more. It provides code examples for creating classes with methods and getter/setters. It also covers cloning objects, extending classes, and binding functions to change the value of 'this'.
iOS 9 introduced several new features including split screen multitasking on iPad, search APIs, app thinning technologies like bitcode and app slicing, keyboard shortcuts, 3D Touch features, updated UI components like UIAlertController and SFSafariViewController, on demand resources, and the new Contacts framework. It also improved existing technologies like Auto Layout with new syntax and components like UIStackView.
This prototype works, but it’s not pretty, and now it’s in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it’s imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we’ll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
This document discusses crafting quality PHP applications. It emphasizes the importance of planning, writing testable code, automating testing and continuous integration/deployment. Key points covered include reducing complexity to improve testability, using different types of tests like unit and integration tests, and conducting code reviews to maintain quality. The overall message is that applying best practices around these areas leads to higher quality applications and higher confidence in releases.
Turn your spaghetti code into ravioli with JavaScript modulesjerryorr
JavaScript is the language that powers the interactive web of the future. But as our web applications become larger and more complex, we begin to strain the old paradigm of throwing a bunch of JavaScript functions into a few files. Complex dependencies, tight coupling, and global state can turn our code into a huge plate of spaghetti. Though browsers do not natively support JavaScript modules, there are many tools that can help us to write clean, modular JavaScript.
In this session, we will explore the benefits of writing modular JavaScript. We will also take a deep dive into specific JavaScript module systems, such as Browserify, RequireJS, and the module standards that are coming in ES6.
Testing ASP.net Web Applications using RubyBen Hall
The document discusses testing ASP.net applications using Ruby and behavior driven development. It provides examples of using RSpec to test an ASP.net application by describing controller behaviors in plain English and writing Ruby tests to validate those behaviors. Key points covered include using RSpec matchers to assert test outcomes and loading the ASP.net application code into Ruby to test it.
Dip Your Toes in the Sea of Security (ConFoo YVR 2017)James Titcumb
Security is an enormous topic, and it’s really, really complicated. If you’re not careful, you’ll find yourself vulnerable to any number of attacks which you definitely don’t want to be on the receiving end of. This talk will give you just a taster of the vast array of things there is to know about security in modern web applications, such as writing secure PHP web applications and securing a Linux server. Whether you are writing anything beyond a basic brochure website, or even developing a complicated business web application, this talk will give you insights to some of the things you need to be aware of.
The document discusses several code examples that demonstrate different software design patterns and principles including:
1) A facade pattern that hides browser-specific event handling code.
2) An observer pattern implemented with a Subject base class that allows objects to observe each other.
3) A singleton pattern example that ensures only one instance of a class can be created.
4) A module pattern example that encapsulates related functions and exposes a public API.
The document discusses the future of JavaScript and the ECMAScript 4 (ES4) specification. Some key points:
- ES4 will introduce classes, inheritance, and other object-oriented features to JavaScript to make it suitable for large applications.
- A new virtual machine called Tamarin is being developed by Adobe and will power future versions of JavaScript across browsers.
- Features like classes, packages, generics and operator overloading are described. The specification aims to make JavaScript more powerful while keeping it usable for small programs.
- The reference implementations of new JavaScript classes and features will be written in JavaScript itself, allowing the language to be self-hosting.
This document provides an overview of Ruby on Rails, including its core components like MVC, Active Record, routing, views, helpers, and generators. It explains how Rails uses conventions to simplify development tasks. It also discusses how Rails is extensible through gems and lists some well-known companies that use Rails in production, like Twitter, GitHub, and Shopify. Additional resources for learning Rails are provided at the end.
Keep It Simple Security (Symfony cafe 28-01-2016)Oleg Zinchenko
This document contains code snippets related to implementing WSSE authentication in Symfony. It includes code for a WSSE token, listener, authentication manager/provider, and factory class. The token holds user details extracted from the HTTP header. The listener extracts credentials from the header and passes them to the manager. The manager authenticates by validating the credentials against the user provider. The factory registers these classes with the security component. The document also mentions voters and ACL as other Symfony security topics.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, prototypes and more to demonstrate JavaScript's capabilities. It emphasizes that libraries help create abstractions and beautiful patterns in JavaScript code.
Kicking off with Zend Expressive and Doctrine ORM (ConFoo YVR 2017)James Titcumb
You've heard of Zend's new framework, Expressive, and you've heard it's the new hotness. In this talk, I will introduce the concepts of Expressive, how to bootstrap a simple application with the framework using best practices, and finally how to integrate a third party tool like Doctrine ORM.
This document discusses frontend validation in Symfony applications. It introduces the UberFrontendValidationBundle which adds validation constraints and error messages to form fields on the frontend. The bundle works by rendering additional HTML5 attributes on fields containing validation data. This allows validating fields on the frontend before form submission using JavaScript.
The document describes a TimelineTableViewController class that is responsible for displaying a timeline. It initializes a TimelinePresenter when loaded, which handles fetching the timeline data and notifying the view controller. The presenter calls a TimelineUseCase to retrieve the timeline and then uses the view controller as an output to update the UI, such as showing/hiding empty and ad views depending on the timeline contents.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, inheritance through prototypes, and AJAX requests. It emphasizes how libraries help create abstractions and beautiful patterns in JavaScript code.
Slides from Ajax Experience 2009. In this session:
- Object creation patterns
- Code reuse patterns
- Functional patterns
- More on object creation
- Design patterns
Some example patterns: object creation with literals and constructos, prototypes, inheritance and other code reuse patterns, lazy definition, callbacks, singleton, factory, classical and prototypal inheritance, namespaces, chaining, modules, static methods, private and privileged members
For more information, see:
http://jspatterns.com
My column in the JavaScript Magazine (http://jsmag.com)
Blog: http://phpied.com
Crafting Quality PHP Applications (PHP Joburg Oct 2019)James Titcumb
This prototype works, but it’s not pretty, and now it’s in production. That legacy application really needs some TLC. Where do we start? When creating long lived applications, it’s imperative to focus on good practices. The solution is to improve the whole development life cycle; from planning, better coding and testing, to automation, peer review and more. In this talk, we’ll take a quick look into each of these areas, looking at how we can make positive, actionable change in our workflow.
Formacion en movilidad: Conceptos de desarrollo en iOS (III) Mobivery
En esta tercera sesión formativa, impartida por Sergi Hernando, CTO de Mobivery, se trataron los siguientes conceptos: UIWebView, View Cotroller en iPad y el Simulador
The document discusses how Apple's file templates for view controllers like UITableViewController violate the single responsibility principle of object-oriented design. It provides an example of refactoring the GitHubViewer iOS app to separate the data access logic from the view controller using a new API client class, thus improving adherence to the single responsibility principle.
Mobile App Development: Primi passi con NativeScript e Angular 2Filippo Matteo Riggio
This document provides an overview and tutorial of building mobile apps with NativeScript and Angular 2. It discusses choosing between native, hybrid, and cross-platform approaches. It then demonstrates setting up a NativeScript project with Angular and making HTTP requests to retrieve Pokemon data to display in a list. It shows implementing user interfaces with grids, lists, images and styles. It also covers adding interactivity, native dialogs, plugins, databases and accessing native APIs. The document provides a helpful introduction to building cross-platform mobile apps with NativeScript and Angular.
This document provides tips and examples for using UIWebView in iPhone SDK, including:
- Loading local HTML files into UIWebView using pathForResource and loadRequest
- Loading HTML strings into UIWebView using loadHTMLString
- Interacting with JavaScript in UIWebView
- Passing data between Objective-C and JavaScript using URL schemes
- Implementing a custom URL cache to block certain URLs
303 TANSTAAFL: Using Open Source iPhone UI Codejonmarimba
This document discusses modifications made to improve the animation and behavior of an open source cover flow library called OpenFlow. The author hacked the code to have a scroll view handle animation instead of core animation for better control. Touch handling was also hijacked to directly control selection instead of relying on scroll view callbacks. Friction was reduced and reflection rendering was adjusted to better match Apple's implementation.
Want to squeeze every last bit of performance out of your apps? I will show you how to let go of using Interface Builder to create better performing, more optimized, and leaner apps. I'll walk you through why it's better, how to create and move projects off of IB, building your UI in code, and how to gain a better understanding of how your code works from the ground up.
Hızlı Cocoa Geliştirme (Develop your next cocoa app faster!)Sarp Erdag
This document provides links and code snippets for several iOS development libraries and frameworks. It includes code for making network requests using AFNetworking, parsing JSON with RestKit, displaying loading indicators with MBProgressHUD, pulling to refresh with SVPullToRefresh, theming interfaces with NUI, displaying alerts and action sheets with BlockAlerts, formatting dates with SEHumanizedTimeDiff, authenticating with social networks using HPSocialNetworkManager, and displaying tweets with link handling using STTweetLabel.
Efficient and Testable MVVM pattern
김범준
레이니스트 / 안드로이드 개발
레이니스트에서 뱅크샐러드 안드로이드 어플리케이션을 개발하고 있는 5년차 개발자 입니다. Reactive, 함수형 프로그래밍에 관심이 많으며 효율적이고 가독성 있는 코드를 짜는 것을 항상 목표로 부단히 노력중입니다.
This document discusses UIPickerView and NSArray in iOS app development. It includes sections on NSArray classes like NSArray and NSMutableArray, how to initialize and access array objects. It also covers the UIPickerView, UIPickerViewDataSource, and UIPickerViewDelegate protocols. Example projects are described that show how to generate a UIPickerView programmatically or using a XIB file and populate it with array data. Projects also demonstrate handling selection of multiple components and dependent picker views.
/*!
* Modernizr v2.0.6
* http://www.modernizr.com
*
* Copyright (c) 2009-2011 Faruk Ates, Paul Irish, Alex Sexton
* Dual-licensed under the BSD or MIT licenses: www.modernizr.com/license/
*/
/*
* Modernizr tests which native CSS3 and HTML5 features are available in
* the current UA and makes the results available to you in two ways:
* as properties on a global Modernizr object, and as classes on the
* element. This information allows you to progressively enhance
* your pages with a granular level of control over the experience.
*
* Modernizr has an optional (not included) conditional resource loader
* called Modernizr.load(), based on Yepnope.js (yepnopejs.com).
* To get a build that includes Modernizr.load(), as well as choosing
* which tests to include, go to www.modernizr.com/download/
*
* Authors Faruk Ates, Paul Irish, Alex Sexton,
* Contributors Ryan Seddon, Ben Alman
*/
window.Modernizr = (function( window, document, undefined ) {
var version = '2.0.6',
Modernizr = {},
// option for enabling the HTML classes to be added
enableClasses = true,
docElement = document.documentElement,
docHead = document.head || document.getElementsByTagName('head')[0],
/**
* Create our "modernizr" element that we do most feature tests on.
*/
mod = 'modernizr',
modElem = document.createElement(mod),
mStyle = modElem.style,
/**
* Create the input element for various Web Forms feature tests.
*/
inputElem = document.createElement('input'),
smile = ':)',
toString = Object.prototype.toString,
// List of property values to set for css tests. See ticket #21
prefixes = ' -webkit- -moz- -o- -ms- -khtml- '.split(' '),
// Following spec is to expose vendor-specific style properties as:
// elem.style.WebkitBorderRadius
// and the following would be incorrect:
// elem.style.webkitBorderRadius
// Webkit ghosts their properties in lowercase but Opera & Moz do not.
// Microsoft foregoes prefixes entirely elements in IE6-9 are considered 'NoScope' elements and therefore will be removed
// when injected with innerHTML. To get around this you need to prepend the 'NoScope' element
// with a 'scoped' element, in our case the soft-hyphen entity as it won't mess with our measurements.
// http://msdn.microsoft.com/en-us/library/ms533897%28VS.85%29.aspx
style = ['', ''].join('');
div.id = mod;
div.innerHTML += style;
docElement.appendChild(div);
ret = callback(div, rule);
div.parentNode.removeChild(div);
return !!ret;
},
// adapted from matchMedia polyfill
// by Scott Jehl and Paul Irish
// gist.github.com/786768
testMediaQuery = function( mq ) {
if ( window.matchMedia ) {
return matchMedia(mq).matches;
}
var bool;
injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', funct ...
case3h231/diamond.gif
case3h231/energy.jpg
case3h231/modernizr-2.js
/*!
* Modernizr v2.0.6
* http://www.modernizr.com
*
* Copyright (c) 2009-2011 Faruk Ates, Paul Irish, Alex Sexton
* Dual-licensed under the BSD or MIT licenses: www.modernizr.com/license/
*/
/*
* Modernizr tests which native CSS3 and HTML5 features are available in
* the current UA and makes the results available to you in two ways:
* as properties on a global Modernizr object, and as classes on the
* <html> element. This information allows you to progressively enhance
* your pages with a granular level of control over the experience.
*
* Modernizr has an optional (not included) conditional resource loader
* called Modernizr.load(), based on Yepnope.js (yepnopejs.com).
* To get a build that includes Modernizr.load(), as well as choosing
* which tests to include, go to www.modernizr.com/download/
*
* Authors Faruk Ates, Paul Irish, Alex Sexton,
* Contributors Ryan Seddon, Ben Alman
*/
window.Modernizr = (function( window, document, undefined ) {
var version = '2.0.6',
Modernizr = {},
// option for enabling the HTML classes to be added
enableClasses = true,
docElement = document.documentElement,
docHead = document.head || document.getElementsByTagName('head')[0],
/**
* Create our "modernizr" element that we do most feature tests on.
*/
mod = 'modernizr',
modElem = document.createElement(mod),
mStyle = modElem.style,
/**
* Create the input element for various Web Forms feature tests.
*/
inputElem = document.createElement('input'),
smile = ':)',
toString = Object.prototype.toString,
// List of property values to set for css tests. See ticket #21
prefixes = ' -webkit- -moz- -o- -ms- -khtml- '.split(' '),
// Following spec is to expose vendor-specific style properties as:
// elem.style.WebkitBorderRadius
// and the following would be incorrect:
// elem.style.webkitBorderRadius
// Webkit ghosts their properties in lowercase but Opera & Moz do not.
// Microsoft foregoes prefixes entirely <= IE8, but appears to
// use a lowercase `ms` instead of the correct `Ms` in IE9
// More here: http://github.com/Modernizr/Modernizr/issues/issue/21
domPrefixes = 'Webkit Moz O ms Khtml'.split(' '),
ns = {'svg': 'http://www.w3.org/2000/svg'},
tests = {},
inputs = {},
attrs = {},
classes = [],
featureName, // used in testing loop
// Inject element with style element and some CSS rules
injectElementWithStyles = function( rule, callback, nodes, testnames ) {
var style, ret, node,
div = document.createElement('div');
if ( parseInt(nodes, 10) ) {
// In order not to give false positives we create a node for each test
// This also allows the method to scale for unspecified uses
while ( nodes-- ) {
node = document.createElement(' ...
PhoneGap allows developers to build mobile applications for various platforms including iPhone, Android and Blackberry using HTML, JavaScript and CSS. It uses a WebView to contain the web application and bridges native functionality like geolocation through JavaScript. Developers implement the PhoneGap API in Objective-C and the mobile application interfaces with the API through JavaScript.
MOPCON 2014 - Best software architecture in app developmentanistar sung
Talking about how to build smart design and architecture for app development. Let your app can easy develop and deploy components on your app. And more topic of version control and quality improvement.
The document discusses software architecture for node.js applications. It covers using a home-brewed MVC framework called COKE, implementing RESTful routing and validation, separating concerns between controllers, models, and views, using libraries to extract reusable code, and scaling node.js applications from a single server to multiple distributed services. It also discusses deployment strategies from single server with downtime to zero downtime across multiple instances.
The document discusses the VIPER architecture pattern for structuring iOS applications. It begins by introducing the key components of a VIPER module: the View, Presenter, Interactor, Router, and Entity. It then provides examples of how each component is responsible for lifecycle management, event handling, data validation, routing, and other tasks. The document argues that VIPER increases testability, modularity, and code quality of iOS apps. It also promotes open sourcing example VIPER code on GitHub to help disseminate knowledge of this architecture.
This document discusses using Angular and Three.js together for 3D modeling and visualization. It covers:
1. Different versions of a 3D viewer app including using controllers as view models and prototypal components.
2. Benefits of separating Three.js code from Angular UI code for reusability and productivity.
3. Details of the viewer app architecture including services, directives, controllers and factories for loading models and handling user interactions.
Similar to Conceitos e prática no desenvolvimento iOS - Mobile Conf 2014 (20)
This presentation by OECD, OECD Secretariat, was made during the discussion “Competition and Regulation in Professions and Occupations” held at the 77th meeting of the OECD Working Party No. 2 on Competition and Regulation on 10 June 2024. More papers and presentations on the topic can be found at oe.cd/crps.
This presentation was uploaded with the author’s consent.
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...SkillCertProExams
• For a full set of 760+ questions. Go to
https://skillcertpro.com/product/databricks-certified-data-engineer-associate-exam-questions/
• SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
• It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
• SkillCertPro updates exam questions every 2 weeks.
• You will get life time access and life time free updates
• SkillCertPro assures 100% pass guarantee in first attempt.
XP 2024 presentation: A New Look to Leadershipsamililja
Presentation slides from XP2024 conference, Bolzano IT. The slides describe a new view to leadership and combines it with anthro-complexity (aka cynefin).
This presentation by Professor Alex Robson, Deputy Chair of Australia’s Productivity Commission, was made during the discussion “Competition and Regulation in Professions and Occupations” held at the 77th meeting of the OECD Working Party No. 2 on Competition and Regulation on 10 June 2024. More papers and presentations on the topic can be found at oe.cd/crps.
This presentation was uploaded with the author’s consent.
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsRosie Wells
Insight: In a landscape where traditional narrative structures are giving way to fragmented and non-linear forms of storytelling, there lies immense potential for creativity and exploration.
'Collapsing Narratives: Exploring Non-Linearity' is a micro report from Rosie Wells.
Rosie Wells is an Arts & Cultural Strategist uniquely positioned at the intersection of grassroots and mainstream storytelling.
Their work is focused on developing meaningful and lasting connections that can drive social change.
Please download this presentation to enjoy the hyperlinks!
This presentation, created by Syed Faiz ul Hassan, explores the profound influence of media on public perception and behavior. It delves into the evolution of media from oral traditions to modern digital and social media platforms. Key topics include the role of media in information propagation, socialization, crisis awareness, globalization, and education. The presentation also examines media influence through agenda setting, propaganda, and manipulative techniques used by advertisers and marketers. Furthermore, it highlights the impact of surveillance enabled by media technologies on personal behavior and preferences. Through this comprehensive overview, the presentation aims to shed light on how media shapes collective consciousness and public opinion.
18. Ciclo de Vida - App
Aplicação
não está
rodando
Usuário
clica no ícone
da app
application:didFinishLauchingWithOptions:
applicationDidBecomeActive:
Aplicação
rodando
Usuário clica
em Home, ou recebe
chamada telefônica/
SMS
applicationWillResignActive:
applicationDidEnterBackground:
Aplicação em
backgroung
Usuário
clica no ícone
da app
applicationWillEnterForeground:
19. Ciclo de Vida - App
Aplicação
não está
rodando
Usuário
clica no ícone
da app
application:didFinishLauchingWithOptions:
applicationDidBecomeActive:
Aplicação
rodando
Usuário clica
em Home, ou recebe
chamada telefônica/
SMS
applicationWillResignActive:
applicationDidEnterBackground:
Aplicação em
backgroung
Usuário
clica no ícone
da app
applicationWillEnterForeground:
28. NSIndexPath
"The UIKit framework adds programming interfaces to the NSIndexPath class of the
Foundation framework to facilitate the identification of rows and sections in
UITableView objects and the identification of items and sections in UICollectionView
objects."
https://developer.apple.com/library/ios/documentation/uikit/reference/NSIndexPath_UIKitAdditions/Reference/
Reference.html