Hello all,
I recently started a refreshing new position in where instead of
having to clean up a lot of old spaghetti code, I can get started with
new development and using a framework. Over the past few months, when
I had time, I have tried to pick up other frameworks just to apply
them and get used to using them.
After doing a good amount of research, I have decided that CB is going
to be the framework to use to develop our applications. Great. So, now
here I am in a pit of documentation (which is excellent by the way),
but the serious desire to get to coding and learning this great
framework.
The problem is, I have a lot of CF experience but I have never really
had the best opportunity to jump aboard the cfc(OO) train. Most jobs I
had were the "please fix this app as fast as you can and no we can't
rewrite it" type of jobs. However, now that I have this opportunity I
want to do things right.
I'm doing my best to get up to speed on the framework and to
incorporate it into our site. One of the first tasks that I have is to
create a huge, and I mean giant, form, collect the data and save it to
the database. Of course, with this task there will also be reading of
the data, updating the data etc.
My first thought is this:
I have read as many tutorials that I can find on CB and I have created
a view called pdfForm.cfm which the entire form will live. Since the
form is so large I wanted to validate it with cfform so I know the
data will be correct before I go ahead and submit it.
Again, I am trying to do this the right way and not write procedural
code in a MVC framework (if such a thing is possible). I wanted to
pass this to the list as I will be building the form first. I will be
writing my first cfc to handle the data after I have the form setup
but I wanted to make sure I am heading in the right direction before I
get too far into it.
Thanks in advance for any suggestions, or any comments.
If you know of any other resources or anything that you think would be
good reading, please suggest it.
Thanks,
Mal