Community Member Profile
- Profile: /members/5295-Steven-Neiland.htm
- Twitter: @sneiland
- Comments: 51
- Points: 542
Recent Blog Comments By Steven Neiland
-
ColdFusion / JavaScript Genius? Join Me, And My Growing Team At InVisionApp.com!
Posted on Jan 7, 2013 at 1:03 PM
Hi Ben, I'd be interested as you know I'm pretty good with FW/1. My js skills though are really basic. Im actively working on improving my JS kungfu but I suspect you are looking for someone who can hit the ground running and I dont think that would be me as far as js.... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Aug 4, 2012 at 6:07 PM
@Ben, Ah no worries, I know the feeling. The most important bit really is the save user example in the webshop2 code. I built it specifically with you in mind.... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Aug 3, 2012 at 3:37 PM
@Ben, I finally got around to redoing my cfmeetup on mvc with fw/1. Links to the video, code and slide deck can be found on my blog. http://www.neiland.net/blog/article/cras... read more »
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 12:18 PM
I actually use this concept on my website for my tweet stream...which is cached as well. I guess I'll have to open my personal site code for ridicule :-)... read more »
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 12:15 PM
@Ben, Unfortunately I dont have time to answer this in detail now ...but I cover this tonight on the cfmeetup.... read more »
-
Writing My First Unit Tests With MXUnit And ColdFusion
Posted on Jul 11, 2012 at 1:58 PM
@Russ, If you are interested in automating your unit tests I highly recommend Mike Henke's "Cloudy With A Chance Of Tests" build file. It covers virtually everything you could want including * java compilation check * mxunit testing * selenium testing * j... read more »
-
Writing My First Unit Tests With Jasmine And RequireJS
Posted on Jul 9, 2012 at 3:46 PM
Go Ben Go! Once you start TDD'ing the whole way you look at your code changes. MXUnit really is best in breed for cfml. I have not done js unit testing before myself so I was wondering what everyones opinion is on qUnit vs Jasmine?... read more »
-
A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland
Posted on Jul 6, 2012 at 1:06 PM
@All, For anyone interested, Charlie and I have setup a cfmeetup on this topic for next week on the 12th at 6pm. Titled: "A crash course in MVC with FW/1" http://www.tinyurl.com/cfmeetup... read more »
-
A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland
Posted on Jun 13, 2012 at 4:54 PM
@Anna, Ok that doesnt sound so bad. You scared me for a minute there. I had a picture of hundreds of Application.cfc files.... read more »
-
A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland
Posted on Jun 13, 2012 at 4:39 PM
@Anna, Im not sure if I read that right. Are you saying every single folder in your system has its own Application.cfc file? As in every single folder is its own application? If that is the case I'm going to borrow a phase from Dave and Scott. 'You're doing it wrong'. Im s... read more »
-
Application Services vs. Infrastructure Services vs. Domain Services
Posted on Jun 7, 2012 at 12:46 PM
@Ben, That example makes it much clearer. I think you have the conceptual idea now. I would probably put the ledger function in the domain section conceptually, but really once you are at this stage it only really starts to gel when you start writing code.... read more »
-
Application Services vs. Infrastructure Services vs. Domain Services
Posted on Jun 6, 2012 at 10:04 PM
@Ben, I second what Sean said. Your concepts do make sense in theory but you are over thinking this by trying to make your architecture pure when really its not necessary. Often the lines get blurred. Take infrastructure vs gateways. You have gateways as components that access t... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 6, 2012 at 5:43 PM
@Ben, One point of clarification that I just thought of for anyone reading my comments on session access. I reason that session storage should be accessed from the service layer because I see it as a data storage mechanism "like" a database. I do not however advocate c... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 6, 2012 at 11:23 AM
@Kirill, Yes my web mvc pattern is more closely coupled than a traditional desktop app mvc pattern, but as you have said the pay off is performance. I take the approach to patterns and design that one size does not fit all, what makes sense for one domain (desktop) does not necessarily... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 6, 2012 at 1:59 AM
@Kirill, Im not saying your argument does not have validity...but my approach is based on the premise that the service should *only* return the data which is needed for that view. I would never consider it acceptable to calculate values which are not used. That would be no better than doing... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 5, 2012 at 11:53 PM
It is just as easy to do a calculation in the service layer as it is in an object. Maintenance wise it is still just one place to change the code if a calculation is updated. The only benefit I could see is where you would want currently logged in users to maintain the existing calculation... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 5, 2012 at 11:37 PM
@Kirill, Why? What is the benefit over just passing the values out of the model? At the end of the day all you are doing is creating an object to wrap some data values which are being pulled from a data source. Where is the payoff to compensate for incurring the cost of creating... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 5, 2012 at 5:41 PM
@Sean, You beat me to the punchline. Well said.... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 5, 2012 at 5:40 PM
I'll make one revision to my last post. The data returned from the model, does not necessarily have to be a struct. It can be an array, query, list or an object. What is important is that the view is not doing the work of asking the model to fetch something by an ID. It simply is given some... read more »
-
More Thinking About Model-View-Controller (MVC) And Application Architecture
Posted on Jun 5, 2012 at 5:20 PM
@Michael, That breaks the concept of mvc as applies to a web application. The idea is that the controller asks the model/service for a datastructure. It loads the appropriate view and then passes the datastructure to that view to display. The controller knows nothing about how th... read more »



