Dependency Injection (DI) is a software engineering technique for defining the dependencies among objects. Basically, the process of supplying a resource that a given piece of code requires. The required resource is called a dependency.
There are various classes and objects defined when writing code. Most of the time, these classes depend on other classes in order to fulfill their intended purpose. These classes, or a better word might be Components, know the resources they need and how to get them. DI handles defining these dependent resources and provides ways to instantiate or create them externally. Dependency Containers are used to implement this behavior and holds the map of dependencies for the components.
Web developers wear many hats. Even if they only work on the “back end,” writing code that will run on the web server, they need to be able to: Write the HTML code that’s presented in the user’s browser. Write…
The post 5 Skills to Learn to Become a Back End Web Developer appeared first on Treehouse Blog.
Over the last 12 years, I have been blogging almost uninterruptedly about different subjects (mostly on tech stuff), on different platforms and using a variety of devices and applications. First on desktop and laptop computers, and more recently from iPhone and iPad. This year I went on to try something new and decided to create this blog based on Pelican, a static site generator made with Python. And I got the whole process working on my iPhone, which has become, arguably, my main personal computer. So, how do I publish new content to this blog from my iPhone?
1. I Write Each Article in Markdown
Markdown is a simple syntax that can be easily translated to HTML (and a bunch of other formats), but only requires a simple text editor and allows us to focus on the content. On my Mac, I tend to use either Ulysses, or BBEdit, or VIM, whatever comes to hand. On iPhone, currently, I use Ulysses, Drafts or Working Copy. I may start with Drafts or Ulysses, then copy to Working Copy and go on from there…
This week we welcome Ricky White (@EndlessTrax) as our PyDev of the Week. Ricky is the owner of White Lion Media. He is also the Community Manager at Real Python. If you go to his website, you will find that he has written some non-technical books, which is pretty neat. You can also check out his GitHub profile to see what projects he is working on. Let’s take a few minutes to get to know Ricky!
Can you tell us a little about yourself (hobbies, education, etc.)?:
Hello there and thanks for tuning in for this month’s roundup! Last time, we discussed CRUD applications and what the DZone community is building with this approach to developing apps. In this month’s post, we’re taking a look at using Python as a web development language. We examine the benefits of using Python as the main language in your web application, some processes to follow to simple, Python-based apps, and a few resources to check out to learn more about this powerful language.
And, as a quick side note, if you’re interested in writing for DZone, but don’t have a topic in mind, come check out our Bounty Board, where you can win prizes for providing great content, and our Writer’s Zone which has plenty of prompts, tips, and tricks!
This week we welcome Qumisha Goss (@QatalystGoss) as our PyDev of the Week. Q is a librarian from Detroit who gave one of the best keynotes I’ve ever seen at PyCon US this year. For some reason, the people who uploaded the Keynotes from that morning didn’t separate the keynotes from each other or from the morning’s lightning talks, so you have to seek about 2/3’s of the way through the official video to find Q’s keynote here: I personally think you should take a few moments and watch the video. But if you don’t have the time, you can still read this brief interview with this amazing person.
“My favorite language for maintainability is Python. It has simple, clean syntax, object encapsulation, good library support, and optional named parameters.” – Bram Cohen
The company I’m working for started a project as a start-up last year. In the beginning, there was a discussion on what programming language to choose so that we could easily have an MVP (Minimum Valuable Product) in the shortest time possible, but also to learn something new while working on this project. The most common programming language used in the company is Java, thus we had to answer a question: do we want to continue with Java or try something else? We chose the second option. But what exactly does this “something else” mean?
First of all, the project is a web application, therefore we had to look first for a web framework and after that for a language that would be compatible with that framework. It didn’t take us too much time to find out the best option, so we opted for the Django web framework. As you might know, Django is a web framework written in Python, so the choice of the programming language was obvious – it’s Python. That’s how my journey with Python started.
This week we welcome Naomi Ceder (@NaomiCeder) as our PyDev of the Week. Naomi has been a long-time member of the Python community and is the author of The Quick Python Book. Naomi is the current chair of the board of directors for the Python Software Foundation and is a regular speaker at programming conferences. Let’s take a few moments to get to know Naomi better! Can you tell us a little about yourself (hobbies, education, etc.)?:
While we all started to learn how to code with HTML, developing a sophisticated app requires a more advanced language. Java and Python are two of the hottest programming languages in the market right now because of their versatility, efficiency, and automation capabilities. Both languages have their merits and their flaws, but the main difference is that Java is statically typed and Python is dynamically typed.
They have similarities, as they both adopt the “everything is an object” design, have great cross-platform support, and use immutable strings and deep standard libraries. However, they have plenty of differences that steer some coders towards Java and others towards Python. Java has always had a single large corporate sponsor, while Python is more distributed.
This week we welcome Maria Camila Remolina Gutiérrez (@holamariacamila) as our PyDev of the Week! Maria recently gave a talk at PyCon USA in their new PyCon Charlas track last month. You can learn more about Maria on her website or you can check out her GitHub profile to see what she has been doing in the open source world. Let’s take a few minutes to get to know her better!
Can you tell us a little about yourself (hobbies, education, etc)?: