Tagged: apps RSS Toggle Comment Threads | Keyboard Shortcuts

  • webscriptz 21:23 on 14/03/2009 Permalink | Reply
    Tags: .htaccess, apps, , , , , , views   

    CodeIgniter the views and .htaccess 

    I must admit that I not a huge fan of Frameworks and Patterns because:

    A) They make things complicated

    B) Subject you to some nasty code stuff and rules

    C) Because templating and Frameworks can be water and fire.

    Codeigniter on the opposite has some advantage on it side for the templating stuff. This is really a short explanation for a common problem in other framework.

    What to do if you want a nice folder structure or have different template styles, remember this is just a basic thing which happen to work in CI 1.7.


    function index(){
    $this->load->view('Themename/news/index);
    }

    Just add some slashes an it works so normally it should work if you would make an adaptation for themes too with a variable in it.

    The next thing was kind of hard to find on the web so let me share it. It’s for when you develop with CI and your not working in the root directory of your server.


    DirectoryIndex index.php
    RewriteEngine on
    RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

     
  • webscriptz 01:00 on 02/09/2008 Permalink | Reply
    Tags: apps, ,   

    Link of September 1, 2008 

    It’s true and it has annoyed me eversinds I have a pc the slow reformat of the system so this site hase some great tips and tools to make life easier and i do think I’m going to use them myself.

    5 apps for painless windows reformats

     
  • webscriptz 21:41 on 20/08/2008 Permalink | Reply
    Tags: apps, build, create, , , rails,   

    Restful_authentication 

    This is probably one of the easiest authantication plugins for rails. I’m learning it at the moment and it isn’t easy, the biggest obstacle is the tutorials that often are but available for rails 1.x.x.

    Railscasts – restful_authentication.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel