Movies similar to Teenage Dirtbag?

For those who haven't seen the movie, it's about a popular girl and a problematic boy who form an unexpected and strong emotional connection through their writing, one that ultimately crumbles under the pressure of their particular life situations (there are high expectations for her and he lives with a very abusive family). I'm looking for any movie with a similar theme. The focus should be the complicated emotional connection found by two people with different backgrounds and personalities who manage to create something beautiful/intense despite the prejudice or abuse that surrounds one or both of them. It can have a sad or a happy ending. Thanks! :)