Getter methods can be used to cleanup calculation-intensive code where you don’t need to distinguish between methods and values. This in-turn reduces cognitive burden – for both you and others – when reasoning about your code.
The other day someone was asking a lot of questions on StackOverflow about how to work with wizards in wxPython. The code we’ll be looking at in this example is what I used to answer the questions on Stack. The primary question was how to disable the Next in a wxPython wizard.
PHP 5.6 isn't released yet, it'll be out probably sometime this summer. While it's feature list isn't huge, that means the upgrade pain shouldn't be huge either - and neat additions like the two features I've picked out here are very welcome additions in my book.
Currently it isn't possible to use nested layouts in HarpJS. But with a little work you can support it easily enough. Here is a solution (with an alternative) that you can use until (if) HarpJS supports it natively in the future.
Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Mar. 7 to Mar. 13). This week's topics include AngularJS data binding, QueryPath and PHP, AngularJS with rich object models, Backbone.JS development, and using WebGL with Three.JS.
Would you like to display beautiful popup messages? Now, it’s easier than ever. Just use jquery and the jquery.blockUI.js plugin.
Digital signing is a widely used mechanism to make digital contents authentic. By producing a digital signature for some content, we can let another party capable of validating that content. It can provide a guarantee that, is not altered after we signed it, with this validation.
You hear a lot about data binding in AngularJS, and with good reason: its at the heart of everything you do with Angular. I’ve mentioned data binding more than a few times in my guides to directives and filters, but I haven’t quite explained the internals of how data binding works.
QueryPath enables you to easily work with HTML and XML in PHP. It's similar to working with jQuery but in PHP. The similarity is intentional. Working with HTML5 can have some hiccups because QueryPath uses the parser built into PHP.
This is our first lesson, where we consider the main basic functions: creating a scene, camera, renderer, controls (OrbitControls). We will also create the simplest directional light, add a dozen objects (of different geometry) with shadows.
I have a new problem – OmniGraffle won’t round-trip preserve my inlined Angular application code. You might want to increment the ‘root’ SVG source, AND preserve the Angular bits and pieces you’ve typed into it. Luckily, there’s an imperfect source-control solution that involved two branches, and merge.
One last blog entry before I enter Mardi Gras oblivion. Earlier this week I had logged into the ColdFusion bugbase and noticed that I had over 500 bugs in the system. I thought this was kinda cool and I was wondering if I could see aggregate data about my bug reports.
An overview of Swarnendu De's latest book on Backbone.js development where he discusses best practices and design patterns for real-world Backbone.js development.
Using rich object models with Angular opens up the possibility of employing identity mapping in your codebase. I introduced a simple identity map implementation and demonstrated how it can be slotted into the mixin approach. Identity maps have tradeoffs and shouldn’t be used indiscriminately, but are a handy tool to add to your toolbox for certain situations.
Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Feb. 14 to Feb. 20). This week's topics include the previous dev of the week, angular application components, the art of angular, an open source HTML5 library, and adaptive backgrounds in jQuery.
Web development has changed a lot. This blog post is going to chart the progress of web development through my own experience. Of course, this doesn’t by any means cover the whole spectrum, but I think my experience has been not unusual for a Java programming working through the noughties.
Fine-grained access control refers to the data security model where users of different permissions are given different sets of access rights to read, right, or edit data. Considering fine-grained security policy within applications is becoming more important as apps are increasingly designed to reach a wider group of users.
Building effective user interfaces for enterprise applications is one of the most confounding elements of business application programming. The challenge is that building good UIs requires equal parts art, social science, and programming skill.
This article includes an original presentation about AngularJS given as a slideshare. This article includes the original 20-minute screencast about AngularJS. The slideshare shares the author's thoughts on the learning process and resources that he felt were particularly helpful.
Looking for an Open Source HTML5 library will show a set of projects, some still active, some abandoned. If you do not have a lot of requirements you may discover that such projects can fulfill your needs. But if you need something bigger you have only two options: to buy a big chart library or to to create your own.