AdminSean Corfield (Admin, Railo Technologies)

My feedback

  1. 29 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      4 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
      AdminSean Corfield (Admin, Railo Technologies) commented  · 

      Not so much "too hard" as "no requests from users for it". Until yours. FWIW, I think the code generated by CFCGenerator is bad practice because it will lead to a "5-to-1 syndrome" where for every table in your database you typically end up with five CFCs (a bean, a DAO, a gateway, a 'manager' or 'service' and a controller). That's a poor way to design apps. Besides, the DAO/gateway separation is really not considered a good thing these days (and, yes, I know I was the one who originally recommended it, but that was back in 2003 / 2004 and a lot of best practices have changed since then!).

      If you really don't want to write SQL by hand, you might consider using the ORM feature instead of code generation...

      AdminSean Corfield (Admin, Railo Technologies) shared this idea  · 
    • 1 vote
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        4 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
        AdminSean Corfield (Admin, Railo Technologies) commented  · 

        My concern would be about breaking existing code:

        if ( f() and!(g() == h()) ) ...

        If ! could be part of an identifier, that would break since and!(...) would become a function call.

        Similarly:

        var x = foo?(a+b):c;

        Because foo?(...) would become a function call.

        I agree with the sentiment - I use Clojure with CFML and both ? and ! are allowed in identifiers - but it's too late to add those to CFML without risking breakages.

      • 6 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          6 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
          AdminSean Corfield (Admin, Railo Technologies) commented  · 

          Any request that does not match a specific Host entry will go to the default Host entry. World Singles has dozens of domains all served from the default (localhost) Host entry in server.xml without needing any configuration when new hosts are added. That's the situation you are describing with Mura: one application context serving arbitrary domains. That's supported by Tomcat out of the box.

          What is not supported by Tomcat is supporting arbitrary domains mapping to a different directory for each one (using a convention with the domain name in the file path).

          Resin supports that (but Resin is not free for production use since SSL and multiple CPUs are restricted in the free version).

          I believe - but haven't checked - that CF10 uses the first approach: a default Host serving all requests out of a single application context.

        • 1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            2 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
            AdminSean Corfield (Admin, Railo Technologies) commented  · 

            If you're really concerned about fetching a smaller set of rows from the database, you'd do better to put pagination in your SQL. Putting limits on cfquery only affects how much data is returned by that tag - it does not affect the underlying database operation (so all those rows are returned and then cfquery returns a subset of those rows). See, for example, this blog post:

            http://www.evagoras.com/2011/03/02/the-dangers-of-using-cfquery-maxrows/

          • 27 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              4 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
              AdminSean Corfield (Admin, Railo Technologies) commented  · 

              See https://issues.jboss.org/browse/RAILO-466

              Just like onServerStart() in Adobe ColdFusion, I expect. Although we'd probably implement it per web context rather than server-wide because of the way Railo deals with web contexts.

            • 33 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                AdminSean Corfield (Admin, Railo Technologies) supported this idea  · 
              • 2 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  2 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                  AdminSean Corfield (Admin, Railo Technologies) commented  · 

                  I thought ACF searched up to the root directory of the drive? I'm pretty sure it does for Application.cfm at least. We should be compatible (at least as an option) if that's the case. Otherwise, with only one vote in eleven months, I think this should be declined.

                • 2 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                    AdminSean Corfield (Admin, Railo Technologies) supported this idea  · 
                  • 31 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      5 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                      AdminSean Corfield (Admin, Railo Technologies) commented  · 

                      I really like this idea. I agree it would make initial setup easier and more secure.

                      AdminSean Corfield (Admin, Railo Technologies) supported this idea  · 
                    • 3 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                        AdminSean Corfield (Admin, Railo Technologies) commented  · 

                        Adam Haskell's free open source project already provides portlet integration:

                        http://cfmlportlets.cfinnovate.com/

                        Works across all engines and several versions. He gave a presentation on it at cf.Objective() - very impressive although he said the audience for the project (and therefore for CF9's portlet support) is very limited.

                        Unless a customer wishes to sponsor portlet support as an extension for Railo, there seems no benefit over using the cfmlportlets project.

                      • 8 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          4 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                          AdminSean Corfield (Admin, Railo Technologies) commented  · 

                          Interesting point Ray, thanx!

                          AdminSean Corfield (Admin, Railo Technologies) shared this idea  · 
                        • 28 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            3 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                            AdminSean Corfield (Admin, Railo Technologies) commented  · 

                            No, this is purely about the return type in the function declaration so you can consistently declare a strict return type without needing to specify the full name of the CFC.

                            AdminSean Corfield (Admin, Railo Technologies) shared this idea  · 
                          • 3 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              3 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                              AdminSean Corfield (Admin, Railo Technologies) commented  · 

                              I think this will just create confusing code and the CFML Advisory Committee is not likely to make this part of the language so it would just be a weird vendor-specific extension that hinders portability - I'm STRONGLY AGAINST THIS.

                            • 16 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                2 comments  ·  General  ·  Flag idea as inappropriate…  ·  Admin →
                                AdminSean Corfield (Admin, Railo Technologies) supported this idea  · 

                              Feedback and Knowledge Base