Welcome Guest, Not a member yet? Register   Sign In
jumping into the pool: 1st App
#13

[eluser]Bart v B[/eluser]
[quote author="number1chump" date="1286852533"][quote author="Bart v B" date="1286852051"][quote author="number1chump" date="1286850826"]certainly! anything is a better idea since I basically had no clue about how the syntax had to look like. I am studying yours now to have it sink in my hollow head.

thank you a lot

Al

update 4 minutes later:

so this "__" that you wrote is part of the syntax for the constructor then.

I follow you into how you are loading my Model code, alright, but the question, why do you need to create a construct ? then I see that you load the view alright, and then you create a function where you say, "we want to do something with the model. That leaves it too abstract for me, how do you mean "do something"?

And I still have the query of what do you do when you are creating another project, where do you create it so that you can distribute your MVC files, do you create subfolders inside each of the M and V and C folders ?

thank you gracias[/quote]

with the __construct() your model is loaded in the whole Login object.
So when you have more functions say for example, you want to check if the user has admin rights, you can do that in the same model. It's difficult to explain because i am dutch.

doSomething() can be a function that checks that admin rights for you.

When is see the reply above me, i think you are searching more like modules.
I can not find it very quick, but that is also an option what i use a lot.
http://www.pure-intuitie.nl/webshop/ for example, is a module (in development Wink ).
When you drop /webshop/ then it is just a CI with MVC as normal.[/quote]

========

thank you that is cool, your English is great (but I understand Dutch too, je kunt ook in het Vlaams schrijven) I ll have a look at that links

bedankt!

Al[/quote]

Hey ene Belg! Wink
Als je hulp nodig hebt in het Nederlands/Bels/vlaams dan stuur maar een pm Wink
Youre welcome!


Messages In This Thread
jumping into the pool: 1st App - by El Forum - 10-11-2010, 12:51 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 02:37 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:30 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:33 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:35 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:38 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:42 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:54 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 03:56 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:01 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:02 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:04 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:05 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:13 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:16 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 04:31 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 05:01 PM
jumping into the pool: 1st App - by El Forum - 10-11-2010, 05:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB