Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

March 24 2010

rogeriopvl

Comment by rogeriopvl on Ruby, post and redirect

are you using cgi to run the ruby scripts?

March 23 2010

March 22 2010

March 21 2010

rogeriopvl

March 20 2010

March 18 2010

rogeriopvl

Using git-svn with existing svn project

I'm currently working on a project that has a svn repository. I'm used to git and love the way it allows me to have a local repository, so I would like to use git-svn with this project.

I would like to know how to use git-svn from a svn project already in my computer. Do I really need to make a clone and start from there? Or can I just do something like git svn init in the current project folder and proceed from there?

Also I would like to know about any big issues using git-svn, since this is a serious project and I shouldn't mess around with the repo.

Thanks in advance.

March 17 2010

March 16 2010

rogeriopvl

Where to place the login/authentication related actions in MVC

I've searched around and found that when implementing an authentication module in MVC architecture some people opt to place the login related actions in the User controller while others place it in a controller dedicated to authentication only.

In pseudo-java-like code:

class UserController extends Controller {

    public login() {
        //...
    }
}

Accessed with http://mydomain.com/user/login.

vs.

class AuthController extends Controller {

    public login() {
        //...
    }
}

Accessed with http://mydomain.com/auth/login.

I would like to know which approach is better, and why. That is, if there's really any difference at all.

Thanks in advance.

March 15 2010

March 14 2010

rogeriopvl

March 12 2010

rogeriopvl

Comment by rogeriopvl on how to run commands (external) in gvim

@incarnate 6 years of Java here, and never gave up of vim or textmate, but I did gave up on Eclipse and Netbeans pretty quickly. If IDE works for you, great! Use it and abuse it. But don't expect everyone to do the same.
rogeriopvl

Comment by rogeriopvl on how to run commands (external) in gvim

@incarnate what's wrong with avoiding an IDE?
rogeriopvl

Answer by rogeriopvl for how to run commands (external) in gvim

Try this in command mode:

:!javac HelloWorld.java && java HelloWorld

Edit: I believe that in windows do concatenate multiple commands you use && and not ; as I posted previously. But I'm not sure if this applies to gvim.

rogeriopvl

Comment by rogeriopvl on How do I convert the below PHP code to VB.NET?

The code is pretty simple to understand if you know any language...
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.