Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ignandis #1
MVC
Does anybody know a good book or documentation discussing about CF MX Model-View-Controller (MVC) in detail?
Thank you,
Andi
ignandis Guest
-
mpwoodward *TMM* #2
Re: MVC
ignandis wrote:
One popular implementation of MVC in ColdFusion is the Mach-II framework:> Does anybody know a good book or documentation discussing about CF MX Model-View-Controller (MVC) in detail?
>
> Thank you,
> Andi
[url]http://www.mach-ii.com[/url]
[url]http://www.mach-ii.info[/url]
Matt
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
ronnie #3
Re: MVC
>>Does anybody know a good book or documentation discussing about CF MX
MVC is not common practice in coldfusion. It can be done, of course, but CF>>Model-View-Controller (MVC) in detail?
apps tend to be written by those wishing to avoid mainstream programming
(largely web design types) and wanting a bit more "simplicity" - therfore
the market for this stuff is too small for there to be any dedicated books
on the subject.
Mach-ii is good, real good actually, but again, as with a lot of things
around coldfusion, there is very little in the way of a knowledge market
other than a few articles and the docs.
Keep in mind that MVC is not specific to coldfusion and the pattern itself
is the pretty much the same across all languages - any implementation of MVC
should map right back to coldfusion if you know what you are doing with
CFC's - so any MVC material should do the trick - do a google for that
perhaps.
"ignandis" <webforumsuser@macromedia.com> wrote in message
news:d36pm8$5gk$1@forums.macromedia.com...> Does anybody know a good book or documentation discussing about CF MX
> Model-View-Controller (MVC) in detail?
>
> Thank you,
> Andi
ronnie Guest
-
LearningCFMX #4
Re: MVC
Try this book: ColdFusion MX Bilble by Wiley Publishing. This book gives a
detailed example of and complete usage of the MVC with CFCs. Very informative
and not just some wannabe be MVC/CFC implementation.
LearningCFMX Guest
-
kedward #5
Re: MVC
Thank you for your post.
I am AMAZED at what I am hearing! It really seems like CF is not capable of
producing a solid MVC application. I am new to CF, and have diligently been
searching for the design patterns used in CF..... but I really can't seem to
find any?!?!?! Mach II still requires version 6 of CF!!
I am coming from the java world, and I am finding it very hard to justify
switching to CF.... sure there are some nice bells and whistles, but for
anything more than simple web apps, it seems like you are better off with java?!
Why wouldn't there be more support for MVC? I think your post sums it up in
implying that CF is for weak/non-programmers....
By all means some one prove me wrong... I would love to use all the bells and
whistles, but not if I have to write klunky code that seems is the norm in CF...
kedward Guest
-
BSterner #6
Re: MVC
Try this article for a quick how-to on MVC and CF.
[url]http://www.benorama.com/coldfusion/patterns/part2.htm[/url]
I think the biggest benefit of Coldfusion over something like JSP/Servlets is
time to development. Coldfusion was intended to be a RAD tool, and IMO, most
certainly is. Web Services, DB Access, you name it. It's takes a lot less
time to
develop in CF. You may want to look over the CF tag library to convince
yourself that these "bells and whistles" are really worth it.
Couple other useful references.
[url]http://cflib.org/[/url] - Library archive of UDF's
If $ is a consideration, you may want to look at the following freeware CF
application server.
[url]http://www.newatlanta.com/products/bluedragon/index.cfm[/url]
BSterner Guest
-
mpwoodward *TMM* #7
Re: MVC
On 2005-05-14 06:21:45 -0500, "kedward" <webforumsuser@macromedia.com> said:
CF is plenty capable of doing MVC. There's at least 4 frameworks out> I am AMAZED at what I am hearing! It really seems like CF is not
> capable of producing a solid MVC application. I am new to CF, and have
> diligently been searching for the design patterns used in CF..... but I
> really can't seem to find any?!?!?! Mach II still requires version 6 of
> CF!!
there for it and two articles in the latest CFDJ about it. Do a bit
more homework and you'll find plenty of information out there about MVC
and a lot of other design patterns in CF.
Concerning Mach-II I'm not sure if you're saying requiring version 6 is
too high a version or too low--CFCs didn't exist prior to 6 so it would
be a bit difficult to implement an OO-style MVC pattern without
objects. Also to be clear, Mach-II requires CFMX 6.1 or higher
(doesn't work with 6.0), and it works great in CFMX 7.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
LearningCFMX #8
Re: MVC
Hey kedward dont waste your time with CF. I am a CFMX programmer by occupation
and yes I get paid decent money but the future of CFMX is shakey at the least.
If you are a java guy I suggest learning ASP.Net written in C#. I just
finished college and had a couple Java classes and was looking for a plan B for
when CFMX finally dies off and I heard C# syntax was a lot like JAVA and it can
be used in ASP.Net to make web apps and of course it can be used for a crapload
of non-web based needless to say I jumped in!!! All these guys blabber on
about how fast dev time with CFMX is have they ever written .Net. Man the iDE
kicks ass and I can write killer apps 1 millions times more powerful and just
as fast with C# && ASP.Net. Dude if you really are a Java guy dont mess around
with a "scripting" langugae. It has been bought out by Adobe,its a SCRIPTING
langugae and the IDE is the worst in the
Buisness(Dreamweaver/Dreamwrecker,HomeSite/HomeShite)
It doesnt make sense to jump on a train losing speed and running out of
track. Thses cats up here are gonna flame me for this post but realize most of
them have no clue what OO is and if CFMX does crash they are screwed. So leave
this kiddy crap alone go get VS.Net and learn a kick-a$$ lang that can be used
for thousands of projects.
Remember you live and die by the choices you make, dont mess this one up!!!!
LearningCFMX Guest
-
LearningCFMX #9
Re: MVC
Oh yeah here is a great book to start with:
Visual C#.Net Programming
In the first chapter you are creating web services and in chapter 2 you are
using web forms in ASP.Net to consume the web forms you wrote. In chapter 2 it
also gives great details how to connect to web services asynchtonously so your
app can connect and do other crap while it waits for a response.....sorry CFMX
only guys for using these big words you fellas just stick to the "cfif" and
"cfmodule" stuff. Anyway here is the ISBN# 0-7821-4046-7 just put that
ISBN into Amazon.com and you can get it brand new for like 10.00!!!!
LearningCFMX Guest
-
Stressed_Simon #10
Re: MVC
ColdFusion + Model-View-Controller = CFMVC - [url]http://coldfusion.sys-con.com/read/49185.htm[/url]
Stressed_Simon Guest
-
hownowbrowncow #11
Re: MVC
Thanks guys...
I am looking a the frameworks below. What is the story with them? Which ones
are worth considering?
* Traditional Fusebox
* MVC Fusebox
* OO Fusebox
* Simple Mach II
* Refactored Mach II using design patterns
* Fusebox + Tartan
* Model-Glue
I have to admit I am really scratching my head over the ease of use issue....
I work with weblogic workshop, a java IDE, that allows you to design
industrial grade page flows and interfaces to resources (db, web services,
messaging, etc) visually... very powerful, fairly easy. When I use CF, I feel
like I am playing with a toy. GRANTED, the flex technology is very nice, and
java is way behind in thin rich clients....
Heck, as far as I can tell a lot of Macromedia prodcuts make it "easier" by
taking away all the options that java offers. Out of sight equals less
complexity, equals "ease of use". I looked at Ben's very nice MVC article in
the previous post, and I found it interesting that you can see how Macromedia
has abstracted the javabeans/servlets -the general j2ee forms/structures are
very evident.
Learning a scripting language seems strange. Java is useful for so many things
besides web programming....But I will learn CF just to expand my resume.
Ed
hownowbrowncow Guest



Reply With Quote

