Software development have never been easy, believe me. It's a complex task that demands time for learning and a lot or organization. Nothing works without organization. Independently of the language, you'll often have to learn about business's rules and maybe it's the long way to development.
Reading this article http://bit.ly/9NVnlV may help you conclude once again that this area asks for efforts, a lot of studies and again: organization.
After some time creating routines, methods, procedures, etc you'll be satisfied. It's really good when everything works (even if...).
Check it out!