Welcome Guest, Not a member yet? Register   Sign In
Discontinued
#51

[eluser]NachoF[/eluser]
[quote author="Yorick Peterse" date="1241568697"][quote author="herrkaleun" date="1241568355"]im definitely sure he wanted to say it as a good intended suggestion, thats what we all want Smile
we want to see what can be done, what would be cool.[/quote]

I did, but it's just not going to happen. Adding an infinite amount of libraries would be completely useless. Unless the libraries aren't extremely popular I don't see any reason why we should support them all.

Again, iScaffold is an application that will do the dirty and boring work, such as creating your basic controllers, for you, nothing more, nothing less.[/quote]
I agree, that was my whole point.... my criticism is towards CI, not towards this specific library... what I was trying to bring up is the fact that since CI without any library lacks so many features there comes times (like these) when you have to decide between one library and the other one, even though they have pretty much nothing in common.... for example, someone that uses datamapper or ORM pretty much can not use this CRUD app.... this is all CI's fault, not yours, I was just pointing out this issue... the CI devs should consider adding many features to become built in to avoid these problems
#52

[eluser]Dam1an[/eluser]
@cahva: you can enable short tags in the config file, so it will rewrite them on the fly
#53

[eluser]cahva[/eluser]
I know that but are they really that necessary? Smile

I have to confess that I used short tags in the views earlier but stopped using them since I noticed that when rewrite shortags are set to on, the code gets eval'ed, not included. Eval is teh Evil! Big Grin
#54

[eluser]Dam1an[/eluser]
Yes it is necessary, either that or getting short tags enabled on your server
(Sure, the creaters of iScaffold should maybe not use them but meh)
#55

[eluser]Yorick Peterse[/eluser]
[quote author="Dam1an" date="1241577181"]Yes it is necessary, either that or getting short tags enabled on your server
(Sure, the creaters of iScaffold should maybe not use them but meh)[/quote]

I'm not fond of short tags either, in fact, I never use them, I don't think using short tags makes much of a difference when looking at the performance.

@NachoF

Ah ok Smile
#56

[eluser]cahva[/eluser]
BTW, I tested the short tag rewrite and yes, it works with the views but the generated controllers wont work so using that rewrite short tag is a no-no because controllers wont go through the same parsing as views. I recommend using short tags only in views if necessary.
#57

[eluser]Dam1an[/eluser]
I think short tags only give any real value in views anyway, how can you not prefer '<?=' to '<?php echo'???
The reason short tags can be rewritten in the views is CI parses the view, whereas it just executes the controller (I'm assuming)
#58

[eluser]cahva[/eluser]
Thats why I said that they should only be used in views Smile Theres no reason to use them in controllers. I personally dont mind punching couple characters more and I'm not generally against short tags(in views). Short tags have place in templating and I dont argue with that.. I'm just trying to give advice so that this scaffolding will work with majority of people without too much head scratching Big Grin
#59

[eluser]Shanto[/eluser]
Thanks herrkaleun, Its greate!
#60

[eluser]The Wizard[/eluser]
[quote author="cahva" date="1241574618"]Tried this iScaffold and didnt get it to work at first. I had the database.php setup correctly but the first page didnt shown the link "CLICK HERE TO BEGIN". I then had a quick looksee and problem is that this is using php short tags in a lot of places. I suggest to get rid of them as short tags are usually set off by default in many hosts(and my local wamp setup).

Ok. Got that off my chest and will try it out more Smile[/quote]

ahh...
yeah, we will consider that in the next releaseSmile

thanks for pointing out




Theme © iAndrew 2016 - Forum software by © MyBB