archive-us.com » US » A » ANDYHILL.US

Total: 48

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • andyhill.us: Portfolio
    function declarations are Struct keys Name Name of the function Parameters Array of function parameters Each array entry is a struct with name and required fields other cfargument attributes returned if declared Access Not defined by default public private Return Type Not defined by default Any other attributes to cffunction GetMetaData Components By default has fullname name path type and an extends struct with the same fields for the component s parent If there are any methods defined returns functions an array of structs with metadata for each function Returns any other defined cfcomponent attribute CF10 GetApplicationMetadata Application timeout session client cookie etc settings SessionGetMetaData Only current key is starttime CallStackGet How did I get here Works anywhere Array of structs representing the call stack from most recent back to application cfc Struct keys are Function LineNumber and Template Function Passing Pass a function callback to another function as an argument CF10 supports inline functions a subset of closures making traditional function passing somewhat irrelevant but still valuable if passing the same function to more than one function CF10 also supports passing functions as arguments to native functions such as ArraySort for custom sorting CF9 d one a two b string function serializer data func return func data helpers string function data2json required any data return serializeJSON data string function data2xml required any data var toxml new toxml toxml cfc from raymondcamden com if isQuery data return toxml queryToXML data items item else if isArray data return toxml arrayToXML data items item if isStruct data return toxml structToXML data items item else return toxml listToXML data items item returns one a two b jsonstr serializer d data2json returns xml version 1 0 encoding UTF 8 items item one a one two b two item items xmlstr serializer d data2xml CF10 serializer d function data return serializeJson data CF ArraySort with custom sorting function from raymondcamden com arraySort data function a b remove the The var first a var second b first replace first The second replace second The return first gt second Currying function function serializeCurry required function func return function required any data return func data xmlSerializer serializeCurry data2xml jsonSerializer serializeCurry function data return serializeJSON data returns xml xmlSerializer d returns json jsonSerializer d Overloading Overloading is having several methods with the same name which differ from each other in the type of the input and or output of the function In strongly typed languages such as Java or C overloading is accomplished by having multiple functions with the same name with different method signatures In ColdFusion and other weakly typed languages this is accomplished via type sniffing and optional arguments jQuery obj html versus obj html Hello World Overloading Example public any function query required string sql any args string dsn This dsn query without arguments default dsn if IsDefined args args This dsn query with arguments if isArray args return This safeQuery sql args dsn query without args else dsn args return This safeQuery sql dsn db

    Original URL path: http://www.andyhill.us/portfolio/cfmeta/ (2016-04-30)
    Open archived version from archive


  • andyhill.us: Recipes
    Servings 4 Cook Time 15 minutes Ingredients 24 oz Boneless Chicken Breasts 1 4 c Onion Chopped 1 4 c Yogurt 1 Tbs Canola Oil 1 2 tsp Coriander Ground 1 4 tsp Black Pepper 1 4 tsp Tumeric 1 2 tsp Cumin 1 4 tsp Salt 3 4 tsp Ginger Chopped Instructions Cut chicken into 1 2 inch strips or cubes Marinate chicken in puree for 2 hours Broil

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=1 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    Error Bad id

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=2 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    Onion 1 1 2 c Brown Rice 8 oz Cheddar Cheese 1 c Ricotta 2 Jalapeno Peppers 4 oz Green Chilis Chopped 1 4 c Cilantro 1 2 tsp Cumin 2 tsp Salt And Pepper Instructions Heat the oil in a small skillet Add the onion and saute over low heat until lightly browned In a mixing bowl combine the onion with the rice and all the remaining ingredients Stir

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=4 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    10 minutes Servings Cook Time 20 minutes Ingredients 1 cup all purpose flour 1 cup cornmeal 1 4 cup sugar 4 teaspoons baking powder 3 4 teaspoon salt 1 cup

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=27 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    Entree Style Other Rating 4 5 stars Prep Time Servings 4 Cook Time Ingredients 1 can Cream Of Shrimp Soup 8 oz Cream Cheese 1 can King Crab 2 tsp

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=5 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    c Parmesan Cheese Grated 1 tsp Oregano 1 4 lb Mozzerella Sliced 3 c Tomato Sauce Instructions Pat dry Beat eggs wit 2 T water Dip eggplant slices into eggs and then into crumbs Heat 1 4 c oil in large fry pan and saute eggplant slices until golden brown Continue cooking eggplant until all is sauteed using additional oil if needed Place half the eggplant slices in 9 X

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=6 (2016-04-30)
    Open archived version from archive

  • andyhill.us: Recipes
    Entree Style Other Rating 4 5 stars Prep Time Servings 4 Cook Time Ingredients 1 C Mayonaise 1 2 package Italian Dressing Mix 1 c Cheddar 8 oz Mushrooms Instructions

    Original URL path: http://www.andyhill.us/recipes/printable.php?id=7 (2016-04-30)
    Open archived version from archive



  •