Writing Testable JavaScript
We’ve all been there: that bit of JavaScript functionality that started out as just a handful of lines grows to a dozen, then two dozen, then more. Along the way, a function picks up a few more arguments; a conditional picks up a few more conditions. And then one day, the bug report comes in: something’s broken, and it’s up to us to untangle the mess. As we ask our client-side code to take on more and more responsibilities—indeed, whole applications are living largely in the browser these days—two things are becoming clear. One, we can’t just point and click our way through testing that things are working as we expect; automated tests are key to having confidence in our code. Two, we’re probably going to have to change how we write our code in order to make it possible to write tests. Really, we need to change how we code? Yes—because even if we know that automated tests are a good thing, most of us are probably only able to write integration tests right now. Integration ...
adam
appendto
applications
argument
assertion
brendan eich
brevity
brighton
capybara
chai
christian
complexity
conditions
conference
confidence
configurability
content-type
datatype
deepequal
development
difference
documents
dom
elements
environment
examination
function
functionality
handleclick
html
implementation
instance
integration
interaction
internet
introduction
isfunction
javascript
johansen
json
loadtemplate
management
mocha
oncreate
persistence
portion
practice
presentation
preventdefault
production
qunit
responsibility
resultslist
rsvp
ruby
sanity
searchdata
searchform
searchresults
selenium
setresults
solution
sontag
templaterequest
test-driven
tmplcache
url
usefakexmlhttprequest
version
xhr
yes
Sensopia Raises $1.2 Million Series A For “Magical” Floor Plan Capturing Application, MagicPlan
Sensopia, a company which actually uncovered a practical application for augmented reality, has raised a $1.2 million Series A round for its floor plan capturing application called “MagicPlan.” The app allows users to hold up their phone and then scan the dimensions of the room around them in order to create an instant floor plan that can be exported to various formats, including DXF, PDF, JPEG and HTML, the latter for viewing the plan on the web. To perform the scan, the app “sees” the room in the camera’s viewfinder, and then you tap on the screen to label things like corners and doors. Participating in the new round were Partech International, Tekton Ventures, Normandy Ventures, and other private investors. The company says it will use the funding to accelerate growth and further develop the application, making the software easier to use and allowing for the capture of rooms in three dimensions. The startup had released an updated version of the MagicPlan app around a year ...
adjustments
adoption
agreement
applications
appointment
assist
cocontest
depot
development
dimensions
dxf
france
html
improvements
insurance
ipad
jpeg
magicplan
management
million
moobz
normandy
partech
partnership
pdf
raises
reality
rtv
sdk
seloger
sensopia
service
subscription
symbility
technology
tekton
ventures
version
vision
zillow
Google Believes Web Components Are The Future Of Web Development
While it was missing the skydiving antics of last year’s event, Google’s I/O keynote last week wasn’t short on product launches. In between the splashy updates to Google Maps, Search, Android and everything else Google announced, the company also briefly talked about Web Components for a few minutes. While Google’s Sundar Pichai noted that it’s still early days for this technology, he also said he believes that “the vision for it is clear” and that it will allow developers to build “elegant user interfaces that work across all form factors.” Web Components are clearly a topic that’s close to the heart of a number of Chrome developers. Many of them, for example, cited it as one of the Chrome features they are most excited about at a fireside chat later in the week. A number of Google engineers are also working on Project Polymer, which aims to write a web application framework that’s built upon the idea of Web Components and will allow developers to use the ideas behind ...
android
appearance
applications
canary
chrome
css
development
firefox
google maps
html
javascript
microsoft
mozilla
sundar pichai
technology
traction
vision
webgl
Linux Mint 15 'Olivia' Release Candidate Is Out
New submitter Anand Radhakrishnan writes "The release candidate for the much-anticipated Linux Mint 15 'Olivia' is available for user testing. Its many new features include Cinnamon Control center, an improved login manager with HTML 5 support, a driver manager, and a lot of under-the-hood improvements. 'A new tool called MintSources, aka "Software Sources," was developed from scratch with derivative distributions in mind (primarily Linux Mint, but also LMDE, Netrunner and Snow Linux). It replaces software-properties-gtk and is perfectly adapted to managing software sources in Linux Mint. From the main screen you can easily enable or disable optional components and gain access to backports, unstable packages and source code.' This release with Cinnamon looks really tempting."
anand
cinnamon
distribution
html
improvements
linux mint
lmde
mintsources
netrunner
olivia
radhakrishnan
Mobile Payments Startup ZooZ Debuts In-Ad Payments (Yes, “Ad” Not “App”)
Fresh off its $2 million in Series A funding, in-app mobile payments platform ZooZ is announcing a new product today: in-ad payments. Yes, that’s right, “ad” not “app.” The big idea here is to streamline the checkout process for consumers by addressing some of the challenges with e-commerce on mobile’s small screen, and now connecting that process to mobile banner ads to increase click-to-buy conversions. With in-ad payments, mobile users will be able checkout by tapping once on a visible banner ad within a mobile app, which then launches ZooZ’s checkout flow. As with ZooZ’s previously launched in-app payments product, the fully native checkout experience here doesn’t require the end user to re-enter their credit card or payment details after their initial sign-up. For those unfamiliar with ZooZ, the company has been focused on rethinking e-commerce on mobile, with a checkout process that’s designed to reduce cart abandonment. As CEO Oren Levy explained to us last summer, ...
abandonment
android
appcelerator
ceo
conversion
debuts
dwolla
experience
html
information
ios
levy
million
mobicart
oren
partnership
payments
paypal
sdk
uniformity
yes
zooz