Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

PaulD Wrote: (06-15-2017, 03:00 AM) -- Personally, I think the use of static classes is fine, should not cause any load issues, should not slow down your application in any noticeable way. -- Thank y...
31,339 Views
21 Replies
06-16-2017, 02:56 AM
kharota
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

Kaosweaver Wrote: (06-14-2017, 06:02 AM) -- kharota Wrote: (06-13-2017, 12:40 PM) -- PaulD Wrote: (06-13-2017, 11:20 AM) -- Less code is not necessarily the best code (unless you are playing code g...
31,339 Views
21 Replies
06-14-2017, 02:23 PM
kharota
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

dave friend Wrote: (06-14-2017, 01:58 PM) -- If you really want to save some typing create a helper. /application/helpers/load_helper.php PHP Code: --
31,339 Views
21 Replies
06-14-2017, 02:07 PM
kharota
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

skunkbad Wrote: (06-13-2017, 11:38 AM) -- kharota Wrote: (06-13-2017, 07:15 AM) -- I understand but why not use less code? if we have big project? Are not they doing same thing in laravel? Please ha...
31,339 Views
21 Replies
06-13-2017, 12:46 PM
kharota
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

PaulD Wrote: (06-13-2017, 11:20 AM) -- Less code is not necessarily the best code (unless you are playing code golf). Great code is beautiful because it is easily followed, clear, DRY, easily maint...
31,339 Views
21 Replies
06-13-2017, 12:40 PM
kharota
    Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

skunkbad Wrote: (06-12-2017, 01:06 PM) -- PHP Code: -- function ohce( $str ){    echo $str; } oche('Hello World of Spaghetti Code'); -- -- I understand but why not use less code? if we have big pr...
31,339 Views
21 Replies
06-13-2017, 07:15 AM
kharota
  Smile Thread: is loading through static class is bad idea?
Post: RE: is loading through static class is bad idea?

albertleao Wrote: (06-12-2017, 01:01 PM) -- What's the reason you want to do this? -- two reasons 1. static classes are more editor friendly. For example its hard to autocomplete on editor when we...
31,339 Views
21 Replies
06-13-2017, 07:13 AM
kharota
    Thread: is loading through static class is bad idea?
Post: is loading through static class is bad idea?

hi i use following class to load the views like Load::view("welcome.php"); is it bad idea? or its fine? i am not sure for using lots of instances?  thank
31,339 Views
21 Replies
06-12-2017, 10:08 AM
kharota
    Thread: Removing $this-> from codeigniter 3+
Post: Removing $this-> from codeigniter 3+

I don't know when codeigniter would remove $this and we would be using like $load->view(); or  Load::view(); $this-> we have to write again and again in all the codes. I hope codeigniter w...
29,835 Views
0 Replies
12-21-2014, 03:10 PM
kharota

Theme © iAndrew 2016 - Forum software by © MyBB