Only on rare cases applications created with Silverlight (or Flash) are static – it’s very common to have information coming from a RSS feed, REST service or any other data source. What is more important, these applications usually needs configuration variables (user name, language, products category, etc.) to be passed to them. But how to [...]
Posts tagged ‘http’
Passing data from PHP to Silverlight
Using AJAX with onSubmit event in jQuery
Last week I was working on one task, which required me to check data with AJAX when form is being submitted. Users clicks the button, request is made, data arrives, some hidden fields are modified, actual submit happens. The problem I ran into is, how to control form submission and ensure that it’s submitted only [...]
Parallel processes in PHP
When I was coding Ray-Tracer project for my Computer Science studies in university, I ran into using Haskell parallel map function (map calls function for all list elements). Ray-Tracer runs reflections, shadows, ray-casts, etc. detection for every single pixel in scene and since everything is mathematical calculations, it’s paralleling is almost trivial.
Parallel map functions does [...]
Easy javascript packing with PHP
“JavaScript packing” is method for reducing JavaScript files size by removing all unnecessary data (obfuscating) and compressing it’s contents. Most popular is Dean Edward’s packer, which transforms JavaScripts into something like this:
eval(function(p,a,c,k,e,r){…
To start with, it’s very easy to have dynamically packed files (no one wants to pack them by hand, packed versions are only useful [...]







