I described earlier how you can use two sibling Border elements to end up with the effect of a Border with a DropShadow. We did this because specifying a DropShadowEffect for a Border will lead to all of the child elements contained in the Border getting the same drop shadow. A cleaner way to avoid the drop shadows on the [...]
When building web applications, you often face the fact that HTTP, the foundation of the web, is a request/response protocol. A client issues a request, a server handles this request and sends back a response. All the time, with no relation between the first request and subsequent requests. Also, since it’s request-based, there is no way to send messages from the server to the client without having the client create a request first.
Today users expect that in their projects, sorry, “experiences”, a form of “real time” is available. Questions like “I want this stock ticker to update whenever the price
changes” or “I want to view real-time GPS locations of my vehicles on this map”. Or even better: experiences where people collaborate often require live notifications and changes in the browser so that whenever a user triggers a task or event, the other users collaborating immediately are notified. Think Google Spreadsheets where you can work together. Think Facebook chat. Think Twitter where new messages automatically appear. Think your apps with a sprinkle of real-time sauce.
How would you implement this?
But what if the server wants to communicate with the client?
Over the years, web developers have been very inventive working around the...(Read whole news on source site)
There is a huge number of books about TDD. Those books usually concentrate on using test for units of work. Units of work are understood in many different ways, usually it means a class. So the books say: write a lot of tests, make code in such a way the the tests pass. All external resources should be mocked so you can test only this unit.
This article is authored by Szymon Guz
That’s cool, but unfortunately all the testing stops at this moment. There are some queries (written by hand
or generated by some ORMs) but that is not tested, usually. Some programmers test those using integration tests – tests which connect to a real database and perform real queries. This usually means testing the happy path – I’ve got my ORM so it takes care of everything, I don’t need to think.
...(Read whole news on source site)
source: Jerry Nixon`s blog
When a user is idle, their screen locks and your Windows Phone application is suspended. This might be undesired, like for: a timer, certain games, and driving directions.
We have two properties to consider:
Read this from MSDN
: For the best user experience in applications that target Windows Phone OS 7.1, Microsoft strongly recommends
that you utilize the following new features while your application runs under lock, instead of setting theApplicationIdleDetectionMode
Fast Application Switching
, a built-in feature of the OS that provides substantial improvements to state
It is absolutely shocking how quickly small applications add up. One of the applications that has been an absolute core part of the architecture in Hibernating Rhinos is the daily builds server
. It is a core part of the system because it is the part that is responsible for… well, managing the downloads of our products, but it is also the endpoint that the profilers will use to check whatever they need to be updated, and how to get the new binaries. Unfortunately, that piece was written in about 2 hours sometimes in 2008 (I only have history for
the project up to mid 2009), it was a MonoRail project (ASP.Net MVC wasn’t released, and I didn’t really like it at the time). And it hasn’t been updated since. I believed that I mentioned that there should be a very small transition between “you are hired” and “your stuff is in production”. We got a new developer last week, and we now have a new version of the daily build out: http://builds.hibernatingrhinos.com/
The new site is build on top of RavenDB, and has a much better UI. It also gives us, for the very first time, real feeling...(Read whole news on source site)
Hopefully today’s edition will get posted correctly….
SpecsFor 2.0 Released! - Matt Honeycutt announces the official release of SpecsFor 2.0, his BDD framework. This version 2 release brings support for a wider range of test writing styles, new test helpers for object equality and combines forces with the ExpectedObjects library from Derek Greer and Should [...]
I have a Fijit friend. There, I said it. I have a toy targeted
to 9 year old girls. I have a toy my kids want. I have a toy I'm
about to butcher in the name of …er … science.
There. Doesn't she look so innocent and happy? You know, I
bought this before they were a "hot toy" for Christmas 2011. If
that makes me a hipster, pass the glasses. (And no, I didn't pay
the outrageous prices people are asking for them now)
Starting with the Body
The body is made up of a flexible silicone outer shell, an ABS
a soft foam fat layer.
The body uses those wonderful triangle screws at the bottom. I
you don't have a compatible screwdriver already, order this ASD3T
Remove those four screws and also the two holding the battery
cover, and the bottom will just pop off.
On four sides, the skin is held to the bottom using simple pegs.
The sides use either two or three of the pegs to attach to the
bottom. And yes, now I see that this green color is not in the
sweet spot for my camera. Sorry about that.
Peel that up, and you'll get...(Read whole news on source site)
Windows Azure Queue can have a message content size up to 64KB per message. This updated was included in Version 2011-08-18 and newer. If you are still on old version, then Windows Azure Queue will have 8KB message.
This size 64KB refers to the...(read more
I have created a stencil
for wire framing Windows Phone 7 application in Cacoo. This is definitely a work in progress, but until it is complete I would suggest combining this stencil with the Android stencil that is available by default in Cacoo. Below are a couple of screen shots of the stencil so far. First here is what the stencil window looks like currently.
Taking a closer look the main device frame is illustrated below
Lastly is the button pallet which contains the icons from the Windows Phone
I have been told time and again in the office that Scrum is an inflexible platform for developing software as it is way too prescriptive. This is far from reality and represents an invalid interpretation in the rules of the game. This fault lies not with those that have been turned away from the light, [...]