By newtriks
|
September 1, 2008
I ran into a problem on installing Drupal on a shared host server. The problem arises (see error script below) when the installation script hits the php method to check whether register_globals is enabled. For security purposes register_globals needs to be enabled but on some shared hosting this is simply not a feasible option.
Read More »
By newtriks
|
August 26, 2008
Here is an awesome video by Jesse Warden giving a presentation on Being Independent and Making Money Using Flex. He gives a detailed and well informed talk on contractor and consultant roles, work place, legal aspects, roles, what to do and not do, branding etc. This dude knows what he is talking about, sit down and check this out!
By newtriks
|
August 20, 2008
I have been beavering away striving to refine my technique for PureMVC multicore modular applications and finally found a logical path I feel comfortable with. Following a discussion with Cliff my new methods should also solve some potential issues within this app (thanks for the tips mate).
Read More »
By newtriks
|
August 9, 2008
Quick little tip I never knew about for removing css type selector warnings from the Flex Builder problems panel (that irritated the hell out of me):
Go into your project properties panel and select the Flex Compiler option and add the following into Additional compiler options:
-show-unused-type-selector-warnings=false
Thanks to this post by Daniel R.
By newtriks
|
August 7, 2008
To tackle preventing a swf from caching in a browser window without using cf, php, etc, I have the script below using javascript to generate the random number to append to the swf url. It would be good to hear if anyone has any other methods to handle this one or if there are any glaring flaws in a particular browser related to caching.
Read More »
By newtriks
|
August 5, 2008
I have seen a few peeps out there trying to get Form Fields to gain focus in Flex and the blinking cursor to also display in the primary focus field.
Using form_text_field.setFocus(); will get you the halo surrounding the text field but the blinking cursor will not show within the text field as the SWF will not have focus in the browser window.
I achieve swf focus in the browser window in Flex by using oleg’s flex template and simply adding the below to the template:
Read More »
By newtriks
|
August 4, 2008
Garbage collection (gc) in Flex/Flash for Flash Player 9 is a well known issue that has seen to be resolved in Flash Player 10. But as with all player upgrades its not always a simple process for companies out there, especially large size corporations therefore I have my hands tied with using Flash Player 10 in some of my clients apps.
So I was not overly surprised to note an increase in memory in a PureMVC MultiCore application that loads and unloads modules and utilises the Pipes utility. This was, however, something that I needed to tackle with the prospect of some of my modules being welter weight in size and thus on repeated loading and unloading had the potential of bringing a system to its knees (ok slight exaggeration).
A period of time ensued with the primary focus to try and tackle this problem. MultiCore apps with the addition of Pipes can throw in a few extra ties necessary for removal, being that its complex enough to perform all household cleanup chores for an efficient gc, the thought of removing incoming/outgoing pipes, mediators and cores can appear daunting. But it can be done and you know what, it ain’t that hard! Read More »
By newtriks
|
July 30, 2008
Since the PureMVC Pipes Utility was released I have been trying to find the best and most comfortable way for me to load and unload Modules in the main Shell application. A couple of things pertinent to my method of development:
- Looking at the kind of builds that I would utilise the MultiCore framework, most would load multiple single instances of modules.
- I prefer to reference as little of the framework or Pipe logic as possible in the main application Shell and defer this to the Application Mediator.
- I want the code structured in a manner that adding future modules will take the minimum time possible.
With these points in mind I opted for (a) the IModuleInfo as the handle for the modules and (b) the ModuleManager for loading and unloading of the modules. Heres how: Read More »
By newtriks
|
July 16, 2008
For a while now when I have a new ColdFusion Flex scenario set up and need to do a quick check on connectivity I use the cool app provided by Kyle Quevillon available here. Thing is over time I noticed more and more people hitting the a problem with the basic connectivity of Flex and ColdFusion. Also if tweaks are needed for either the RemoteObject source url or the actual cfc itself, it can become a real pain going back into Flex, retyping in new values, rebuilding and finally uploading to the remote server (if not testing locally obviously).
Read More »
By newtriks
|
July 10, 2008
I avoid posting anything personal if possible on my blog and keep it on the development tip, but every now and then something comes along which I just want to promote for one reason or another cos its sheer quality. Its UK and its got a message that just simply rings true:
Read More »