Welcome Guest, Not a member yet? Register   Sign In
Questions regarding <dl> in CI.
#18

[eluser]überfuzz[/eluser]
[quote author="Aken" date="1252350679"][quote author="überfuzz" date="1252346304"]@akan - I wasn't really asking about you opinion when I asked about the upside and downside.[/quote]

Are you sure?

[quote author="überfuzz" date="1252342273"]Whats the downside in having a bunch of variables pass to a function in contrast to having a bunch of functions?[/quote]

You ask for suggestions on this forum, these are my suggestions. Your coding style is completely up to you, I'm just trying to help.

- Create separate functions that define certain variables for each set of data you need to return.
- Create a universal private function that will retrieve the information from the database using the variables supplied by individual functions. The info will then be returned to the functions, and in turn returned to your controllers.
- Create a function that formats a supplied array into the structure you need to loop into a definition list properly.[/quote]

Maybe a PM is more suitable, but then again...

$akan - I asked for an explanation of why I should do it the way you suggested. (See post #13 if you missed out on it.) You failed in doing so. Describing what I posted as insane and crazy is hardly a suggestion. Thats only a rude way of stating your point of view or opinion if you will. By the way, even you called it an opinion in your post, and then you acted as if you were puzzled about that. ;-) Quite interesting actually! But lets leave it out of this forum. Lets stick to the parts were you actually manage to suggest stuff. Great stuff, tnx!


Messages In This Thread
Questions regarding <dl> in CI. - by El Forum - 09-03-2009, 02:41 PM
Questions regarding <dl> in CI. - by El Forum - 09-03-2009, 04:21 PM
Questions regarding <dl> in CI. - by El Forum - 09-03-2009, 06:44 PM
Questions regarding <dl> in CI. - by El Forum - 09-03-2009, 11:43 PM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 01:40 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 01:46 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 02:10 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 02:12 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 02:19 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 03:10 AM
Questions regarding <dl> in CI. - by El Forum - 09-04-2009, 05:38 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 02:30 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 05:38 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 05:51 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 06:24 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 06:58 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 08:11 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 11:05 AM
Questions regarding <dl> in CI. - by El Forum - 09-07-2009, 05:08 PM
Questions regarding <dl> in CI. - by El Forum - 09-08-2009, 12:45 AM
Questions regarding <dl> in CI. - by El Forum - 09-08-2009, 01:04 AM
Questions regarding <dl> in CI. - by El Forum - 09-08-2009, 03:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB