Wednesday, December 16, 2015

iOS From Scratch With Swift: First Steps With UIKit

Transphporm – a Different Kind of Template Engine

If there is one thing the world needs, it’s definitely another PHP template engine! But wait, this one is different!

Many PHP template engines (Smarty, Blade, Twig…) are little more than abstracted PHP code, making it easier to write loops, if/then/else blocks, and display variables with less verbosity than vanilla PHP. These traditional template engines require the designer to have an understanding of special syntax. The template engine must also be in place and operational in order to parse data and thus completely render the final design. Nothing wrong with this.

Magazine, flyer, brochure, cover layout design print template

Transphporm follows a different approach that is generally known as “template animation”. What this means is that the web designer creates the entire HTML/CSS/JS page including placeholder content such as “Lorem Ipsum”, then the template engine comes along and replaces parts of the DOM with new data before the final render.

The benefit of template animation is that the designer does not have to know the backend code, template language, or any particular special syntax. They can use whatever tools they want to create 100% functional HTML pages.

The server-side software does not even need to function while the designer works. This means the designer doesn’t have to wait for the backend to deliver data for them to work with.

Basically, the designer can work with this:

<h1>A Good Title Here</h1>
<p>A subtitle</p>

<p>Some awesome text for clients to see.</p>

Instead of this:

<h1>{$futuretitle|upper}</h1>
<p>{$futuresubtitle|capitalize:true|default:'Default Text'}</p>

<p>{$futureawesometext}</p>

The placeholder content in the first example will be replaced by Transphporm. In the second example, the template engine must be functional and parsing the templates in order to see the final design as the designer envisions it.

Notice how the separation of concerns reaches nearly 100%. There is no special syntax or code that the designer needs to know. On the server-side, Transphporm does not need to have any HTML tags hard-coded. You don’t have logic and code on the front end, and you don’t have presentation and nodes being hard-coded in the backend.

Continue reading %Transphporm – a Different Kind of Template Engine%


by Zack Wallace via SitePoint

Secure Your Online Activity for Life for $59

Attention, please. We just discovered the best use of sixty bucks since last weekend’s bottomless Bloody Mary brunch for two. And this one doesn’t even come with a 3pm hangover. Get a lifetime of secure internet access with VPNSecure for $59 at SitePoint Shop. This deal on VPNSecure gives you lifetime protection when you get […]

Continue reading %Secure Your Online Activity for Life for $59%


by SitePoint Offers via SitePoint

The Montues

opl-small

Crisp big imagery and gorgeous speaker transitions as you scroll through this One Pager promoting the new 'Montues' event - a division of Epicurrence. The quality photography by Helena Price really adds a great first impression. Nice touch with the speaker transitions being moved inside the badge logo on smaller screens.

by Rob Hope via One Page Love

Behance 2015 Year in Review

opl-small

Bold and colorful One Pager capturing Behance's 2015 year. Some incredible user stories and stats in here, inspiring.

by Rob Hope via One Page Love

This Week in Mobile Web Development (#87)

Read this on the Web

Mobile Web Weekly December 16, 2015   #87
Peter Cooper recommends
More Responsive Tapping on iOS in WebKit — WebKit includes ‘fast tapping optimizations’ so well-optimized (for scale) mobile pages can avoid the 350 millisecond delay commonly worked around by using third party libraries.
WebKit
Brian Rinaldi recommends
Google's Angular 2 Release Pushes JavaScript Beyond the Browser — A brief overview discussing how Angular 2 allows you to target more than the browser, including building native mobile apps with JavaScript.
Wired
Brian Rinaldi recommends
What Progressive Web Apps Mean for the Web — TJ VanToll looks at the pros and cons of progressive web apps, which allow mobile web sites to be added to a home screen and function offline.
Telerik Developer Network
This issue is sponsored by Manning
50% Off Manning's Mobile Web Books — For today only we've teamed up with Manning to offer 50% off books like Apache Cordova in Action, Ionic in Action and The Responsive Web. Use code dotd121615tw - expires at the end of December 16.
Manning

Peter Cooper recommends
Touch Keyboard Type 'Cheat Sheet' — HTML5 code and demos for invoking different touch keyboards depending on input type. Worth keeping in mind for the benefit of mobile users.
Baymard Institute
Brian Rinaldi recommends
Smaller, Faster Websites — Mat Marquis summarizes his presentation at various conferences focusing on ways developers can reduce the size and increase the speed of the mobile web sites they build.
Bocoup
Peter Cooper recommends
“Mobile” Is Not A Thing — Mobile is in fact all around us. Mobile has become what “color television” or “desktop publishing” once was: a thing that is so ubiquitous that calling it by name is unnecessary and anachronistic.
Daniel Appelquist
Peter Cooper recommends
Firefox OS is Dead — While not formally dead, Firefox OS is a ‘failure’, says Peter-Paul Koch.
Peter-Paul Koch
Holly Schinsky recommends
Understanding Filters in Ionic — Understanding how to use filters to transform values in your hybrid apps built with Ionic.
Andrew McGivery
Brian Rinaldi recommends
A Simple Case for Hybrid Mobile App Development — Abhishek Narain of Microsoft makes the case for why hybrid apps using Cordova still offer a number of advantages, and how to build them in Visual Studio.
SitePoint
Peter Cooper recommends
Chrome for Android Can Now Save More Data by Blocking Website Images
The Verge
Brian Rinaldi recommends
Building Mobile Apps with Angular 2 and NativeScript — How to build native mobile apps with JavaScript using Angular 2’s integration with NativeScript by TJ VanToll.
Angular Blog
Holly Schinsky recommends
Adding Polish to the Calculator App — The third post in a series on building hybrid apps; this one focused on adding polish with icons, splash screens and more.
Pluralsight Tutorials
Job listing
Give back to the developer community-apply to teach today. — Actively seeking web developers to join our tight knit family of passionate teachers and earn royalties.
Pluralsight

Brian Rinaldi recommends
Website Layout Tools Compared: Flexbox Vs. Susy — A comparison of the functionality provided by Flexbox, as implemented natively by most browsers, and Susy, a Sass-based layout toolkit.
Smashing Magazine
Brian Rinaldi recommends
The Ad Blocking Industry: Global, Large, Threatening — Frédéric Filloux says that mobile browsing is more prevalent internationally than in the US and the impact of ad blockers on the mobile web, both in terms of performance and ad rates, is huge.
Monday Note
Brian Rinaldi recommends
Flip that App! Hybrid Mobile to JavaScript Native — Jen Looper explains the process of converting a existing hybrid mobile app to a JavaScript native app built with NativeScript.
Telerik Developer Network
Holly Schinsky recommends
ReactNative+VSCode — A new extension for VSCode is coming soon and will add support for ReactNative development with features like debugging and intellisense.
Tools for Apache Cordova (TACO)
Holly Schinsky recommends
MIT's Reality Editor App Lets You Reprogram the World With Augmented Reality — Reality Editor is a new app being built by MIT and based on Open Hybrid to control the physical world with augmented reality by reassigning functionality from one object to another via an app.
WIRED
Job listing
Get 10 offers from top tech companies in one week — Indeed Prime is an elite new program from Indeed.com that presents in-demand tech talent like you to top employers. Indeed Prime opens the door to exciting career opportunities with one simple application. Join today!
Indeed

Curated by Brian Rinaldi and Holly Schinsky for Cooper Press.
Cooper Press is located at Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or stop receiving MWW here


by via Mobile Web Weekly

A Beginners Guide to Titan Framework: Adding a Radio Type, Radio-Palette Type Option, and Radio-Image Type