HomeAbout Mark van HedelContact Mark van Hedel



Using FLEX for input forms in BlogCFC :: Part 6

Seems like we have it all working now, the last part of the working form is done, what I did for my form is set the build folder to a new folder in the webroot. This folder is flexblog. So now all I have to do is instead of pointing my code to the addcomment.cfm I just have to point it to flexblog/Comments.cfm

[More]

Using FLEX for input forms in BlogCFC :: Part 5

Now that we seem to have everything working the way it should we can continue to the next part, this next part is submitting the data to the server and do all server related actions needed to post the comment and notify everyone that needs to be notified of this update. Of course for this we have to change the CFC on the server again and make a call to get this all done.

[More]

Using FLEX for input forms in BlogCFC :: Part 4

Now that we have completed the form we want to do some validation on what the user has entered here. To do this I added a click handler to the post button to add my Validation there. In that handler method I call a private function that is going to do the validation. When validation succeeds I fill yet another Value Object with the values from the form.

[More]

Using FLEX for input forms in BlogCFC :: Part 3

Now that we did the first two parts let's continue. First we created a form in FLEX and retrieved all strings we would need for the application. After that we retrieved the user information in case the user has chosen to remember it's values for the site. Next we want the title for the subject, so we can also display that in the form. We could have done that in Actionscript as well, but in this case I've chosen to retrieve that from the server using a remote object connection again.

[More]

Using FLEX for input forms in BlogCFC :: Part 2

To continue the little project I started the next part was getting all info about the post and user in my application. Starting with the user information and setting up the page that has to run the flex application. To make the changes I just ran my application in FlexBuilder, this would generate the html page for me and give me the swf file.

Now to make changes in that html and make it a cfm I just renamed the resulting file in .cfm and went editing in there.

[More]

Using FLEX for input forms in BlogCFC :: Part 1

At this moment I've started a little test project just to see how this will work. I'm making minor changes to BlogCFC to make it work with FLEX and remote objects, this to replace the addComments feature of the blog. Main reason for this is the captcha necessity. I've been working on a few private sites myself and the main problem is the automatic posting by engines of spam. One way to solve this problem is adding a captcha image to the site. Another is to make sure you don't do a post or get from a form, since that is the page that is targeted by the engines. I've already make changes to that site making the forms in FLEX and using remote objects to post the information to the page and that seems to work very well. Of course it will not remove the problem of people adding spam themselves, but that is one problem that is also not solved with adding a captcha image to the form.

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner