What happened to CFC forum?

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default What happened to CFC forum?

    There use to be a CFC forum here. Has it been discontinued? Also, what use
    are CFC access=package? The only example I've seen shows referencing a CFC via
    full directory path dot notation. You can do that without access=package.
    Comments? Thanks, Brett

    brettr_ Guest

  2. Similar Questions and Discussions

    1. After Cmd+D, nothing happened!
      Hi, I was doing the layout and tried Cmd+D in ID to get some pictures, but nothing happened - no window popped up. It used to work...I don't know...
    2. What ever happened to DRK?
      I used to subscribe to Cold Fusion DRK and was considring doing it again but I can't find any info on it. Anybody know what happened?
    3. What happened?
      The problem is this is NOT a binaries News Group. That means you are not allowed to post binary files. If you see the name "binaries" in the...
    4. wow what happened
      Is it just me or did a whole bunch of messages disappear? (I'm using the newsgroup rather than webx)
    5. What happened to apt-get.org?
      On Tue, 2003-08-05 at 15:05, Dugan Chen wrote: Looks like the ISP is having issues. -- greg, greg@gregfolkert.net REMEMBER ED CURRY!...
  3. #2

    Default Re: What happened to CFC forum?

    available only to the component that declares the method, components that extend the component, or any other components in the package.
    Buda123 Guest

  4. #3

    Default Re: What happened to CFC forum?

    I don't follow what you mean by, 'available only to the component that declares the method'.

    Please give me an example of what you would want to use a package.
    brettr_ Guest

  5. #4

    Default Re: What happened to CFC forum?

    For example you have component 'users.cfc', and inside you have couple of
    methods, search, insert, delete..... for example you are making insert to DB,
    and you have html form, where user fill data and on click of submit button you
    are calling 'users.cfc' and 'insert' method. To insert record you need to
    generate primary key for new record, so you can make method 'makePK' inside the
    same 'users.cfc'. Since that method is called only by methods inside
    'users.cfc' and NOT by outside world. you can make it as 'package' so only
    methods within 'users.cfc' can access it. This is just an example, I hope it
    helps

    Buda123 Guest

  6. #5

    Default Re: What happened to CFC forum?

    Why not just declare makePK as private?
    brettr_ Guest

  7. #6

    Default Re: What happened to CFC forum?

    well, if you declare it as private, you can access it only within that
    particular component, and if it as a package you can use it within any
    component in the same folder (without using extend attribute). That is main
    difference.

    Buda123 Guest

  8. #7

    Default Re: What happened to CFC forum?

    I see. Is there an equivalent to package in Java? Package is the same as
    declaring everything public as long as you stay in the same folder....correct?
    You reference a comparison to extends. However, extend is more specific.
    Package just seems to make everything open within the same folder that is
    declared as package. Seems dangerous and may add complexity to your debugging.


    brettr_ Guest

  9. #8

    Default Re: What happened to CFC forum?

    I am not sure for Java, but yes you are right,


    regards
    Buda123 Guest

  10. #9

    Default Re: What happened to CFC forum?

    Given that, do you know of any real world application for 'package'? Also, it
    doesn't seem Macromedia has done any type of enhancements for making CF and CFC
    more object oriented. For example: - allowing a child to inherent from the
    grandparant - constructor - destructor - protected or friend declaration -
    shared declaration ...to start with. Just seems Macromedia isn't taking object
    orientation seriously. What they have now is very peice mill...for lack of
    better words.

    brettr_ Guest

  11. #10

    Default Re: What happened to CFC forum?

    Nope, I never used package in real life ( I haven't found real need for that)
    and exactly, even there is a bunch of realy cool features in new CF, Ithink
    more Object Orienting will be realy nice add on to CF.

    Buda123 Guest

  12. #11

    Default Re: What happened to CFC forum?

    > I see. Is there an equivalent to package in Java? Package is the same as
    > declaring everything public as long as you stay in the same folder....correct?
    > You reference a comparison to extends. However, extend is more specific.
    > Package just seems to make everything open within the same folder that is
    > declared as package. Seems dangerous and may add complexity to your debugging.
    [url]http://java.sun.com/docs/books/tutorial/java/javaOO/accesscontrol.html[/url]

    --

    Adam
    Adam Cameron Guest

  13. #12

    Default Re: What happened to CFC forum?

    Java has "package" as well
    [url]http://java.sun.com/docs/books/tutorial/java/javaOO/accesscontrol.html[/url]
    Kronin555 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139