the DMCA only applies to USA -- so if you're in other parts of the world this may well be perfectly legal.
There are 2 ways to rip a DVD, shrink it (ie. backing up a commercial DVD to a DVD-R, with all menus, extras etc in tact), or rip video files (eg to (MP4, AVI, H.264 etc)
1) shrinking...