Showing posts with label ColdFusion. Show all posts
Showing posts with label ColdFusion. Show all posts

Thursday, November 3, 2011

Offline AIR Sync with ColdFusion Difficulty

Well, I have tried my hand at this for some time, but can't seem to get it to work, AND I really have no idea why not, nor how to fix it. This is one of those problems that is too big for Twitter :)

Anyways, I have a mobile AIR app that I have built (and it works great!), however I need the data to be synced back to the server and then accessible to other mobile devices. I have CF9 set up, with ORM, I've tried to keep it simple, and have all the data stored in a single table. Below is the CFC for the data...


And here is the object from ActionScript...




Now anytime I try to update the object on the server, I just get an error. Doing some logging and tracing, it seems that two of the data items in the struct sent to the server do not have a value, just a '?'. Um, the data is fine on the device, but not when it sends it to the server. So WTF?

Does anyone out there have any suggestions for me? This has been bugging me for a couple of days (its a side project so I had to find time to post about it). If you need any further data or code, please just post for it in the comments. Thanks in Advance for any assistance!

Tuesday, November 1, 2011

Too Busy...

It has been a REALLY long time since I have posted anything here. Life has taken a few ups and downs, and so has work.

A few months ago, I changed jobs, after spending almost a year focusing on a single enterprise Flex app, that was scraped once the company I worked for was bought by a larger organization... It was quite a piece of software if I do say so myself, a nice ColdFusion backend and a Flex frontend. It was a bunch of work, but a great learning experience, disappointed that it never got to production though :(

Anyways, with my new job I get to do something similar. At this initial stage, I am leaving Flex out of it, and going straight ColdFusion ad jQuery. Given that I have been at this job for three months now, I am a) getting everything set up the way I want (finally) b) getting the crap cleared out of the way and c) starting to feel the pressure to get more done :)

I have encountered a few things lately that I thought I should share, so I am resurrecting my blog, and hoping for more consistent posting in the future!

Monday, August 17, 2009

CFUnited 2009 - The cheap way

Alright, so, I was not able to attend CFUnited this year, although I REALLY wanted to! It just sounded sooo good, and following what people say on Twitter is not nearly as good as being there, or so I have heard!

Anyways, I am still attending, just after it is all done by using SlideSix, this is the BEST website for presentation sharing and it seems that the majority (if not all, I haven't done an in-depth comparison of sessions scheduled vs. presentations available) of presenters at CFUnited have posted their presentations to SlideSix.

It seems that the CFUnited site will also have all those presentations as well, although I would venture to say that SlideSix would make more sense, seeing as some of the presentations are already there. I think that the CFU gang should just upload them all there... (maybe Todd doesn't want that.. server overload :P)

Anyways, if you are like me and didn't get to go and have fun and get a head full while you were there, at least the presentations are available.... now to figure out how to get beer and the pool party over the internet....

Wednesday, June 10, 2009

It's About Time

So, I have been around the block for a while now. People have been asking me if I have a blog for about a year. I guess it is time. I hemmed and hawed about doing this for a number of reasons (time, resources, interesting content..) and finally went the free route. I was going to do the whole domain thing, but not right now. Lets see how committed I am first.

So, who the heck am I?

I am a GIS Specialist who develops Web Apps for Agriculture in Ontario. I use ColdFusion and Flex, and just recently started down the AIR path (which is pretty damn sweet, if you need something like that... anyways, that is my first real blog post). I have been a CFer for about 9 years now I guess. I know no one has ever heard of me ;0)... I work at the largest privately owned Agricultural Testing laboratory in Ontario, we do a LOT of testing of anything to do with Agriculture, and it is interesting. In my role as GIS Specialist, I look after all of the mapping that needs to be done for our customers... the guys that use precision Ag technologies that is. I will go into what I actually do if people are really interested, but suffice it to say, that I make maps. I also do all the web development and IT work as well. We have a website that serves all of our analytical results and runs calculations on those results... All ColdFusion.

I am also partner in service firm that provides GIS softare and precision Ag hardware to growers. We also do web development for companies. Currently I am working an a traceability program for the largest vegetable processor in Ontario. Growers go on-line and enter data about their crops, and well.... lots of other stuff too. Interesting stuff, if you think it is :) (another blog post if folks are interested :p)

I am in the middle of redoing a legacy system written in Visual C++ 6 and converting it to a Flex CF app. It has been interesting so far, and Flex is providing most of what I need without have to override too many classes. That might change as I get more comfortable. I just wrote an AIR App over the weekend, it is of no use to the general public, but will serve its' purpose. Especially when I figure out how to print a report out of AIR.

So, what else? I have been married for almost 7 years to my lovely wife (Jill) and we have a recently turned 5 year old daughter (Brenna). We have two English Springer Spaniels (Maddison, 8, female, and Wesson, 2, male) and we live in a lovely little community in Southern Ontario. I have been at my current job for just over 6 years, and things just keep on changing.

I am the manager of the Southern Ontario ColdFusion User Group (SOnCFUG).

You can follow me on twitter @rob_parkhill and on google talk @ robert dot parkhill at gmail dot com.

I think that that is all for now. I hope to occansionally post something that you will find interesting.