Early cameras and modern cameras work pretty much the same way. A lens (or a pinhole acting as a lens) focuses an image onto a sensor. Of course, sensor, in this case, is a broad term and could include a piece of film that–after all–does sense light via a chemical reaction. Sure, lenses and sensors get better or, at least, different, but the basic design has remained the same since the Chinese built the camera obscura around 400BC (and the Greeks not long after that).
Of course, the lens/sensor arrangement works well, but it does limit how thin you can make a camera. Cell phone cameras are pretty skinny, but there are applications where even they are too thick. That’s why researchers at Rice University are working on a new concept design for a flat camera that uses no lens. You can see a video about the new type of camera below.





Unwilling to permanently modify his DSLR camera lens and dissatisfied with after-market lens gearing solutions, [Jaymis Loveday] learned enough OpenSCAD to generate gears from 50mm to 100mm in diameter in 0.5mm increments for a snug friction fit. Teamed up with commercially available focus pulling equipment, these lens gears should really help [Jaymis] get professional results from consumer lenses. 
