django构建网页_通过解决问题的方式学习django,律师如何构建副业
django構建網頁
This post was originally published on Codementor’s blog
該帖子最初發布在 Codementor的博客上
“I’m not looking to be a programmer. I just want to build State of K, but at this point, I’ve probably already learned every topic in Django.”
“我不希望成為一名程序員。 我只想建立K狀態,但到現在為止,我可能已經學習了Django中的每個主題?!?
Ingram, a full-time lawyer and creator of State of K, the Q-and-A website where users can answer their own questions based on academic studies, started his programming journey with a very clear goal and a very vague idea of how.
英格拉姆(Ingram)是一名專職律師,并創建了K - State of Q-and-A網站,用戶可以在此基礎上根據學術研究回答自己的問題,他的編程之旅以一個非常明確的目標和一個模糊的想法開始。
“For many years, I had the idea of a site that I wanted to exist,” Ingram explained, “There are certain types of questions — empirical questions — where the best available answer comes from published studies, rather than someone’s opinion. But there are too many obstacles to understanding what those studies say. I wanted to solve that problem.”
英格拉姆(Ingram)解釋說:“多年來,我一直想建立一個自己的網站,這存在某些類型的問題-經驗性問題-最佳的答案來自已發表的研究,而不是某人的觀點。 但是,理解這些研究所說的內容有太多障礙。 我想解決這個問題?!?
Under normal circumstances, someone with barely any programming knowledge would choose to hire an expert developer to build their product. “I would liken it to a work of art,” Ingram explained, “You can’t commission an artist if you don’t know yet what you want the drawing to look like.” He went on to share that, as he didn’t have a clear image of how the question-answer website would work, he wanted the freedom to be able to play around with the code. And as he had no idea what he would ask the developer to do, Ingram figured it would be easier to control the budget by building it himself.
在通常情況下,幾乎沒有編程知識的人會選擇聘請專家開發人員來構建他們的產品。 英格拉姆(Ingram)解釋說:“我希望將它像藝術品一樣,如果您尚不知道想要什么樣的圖紙,就無法委托藝術家。” 他繼續分享了這一點,因為他對問題解答網站的運作方式沒有清晰的了解,因此他希望能夠自由地使用代碼。 而且,由于他不知道他會要求開發人員做什么,因此英格拉姆認為通過自己構建預算來控制預算會更容易。
So only equipped with the basic HTML and CSS learned at the turn of the century, he tried creating a website mockup by making a table with HTML “Because that’s what people did in 2001.” It got the job done, but he also quickly realized that his knowledge was outdated, and certainly not enough to bring the idea he had in his head to life.
因此,他只配備了世紀之交學習的基本HTML和CSS,便嘗試通過使用HTML制作表格來創建網站模型,“因為那是2001年人們所做的?!?這項工作完成了,但他也很快意識到自己的知識已經過時了,當然不足以使他的想法變為現實。
After lots of research, Ingram theorized a “very complicated way” to build the website and set out to find a mentor or senior developer that could give him feedback. “The first person I met on Codementor told me my implementation plan was totally wrong,” he laughed. Luckily, it wasn’t all in vain as the mentor pointed him in the right direction: to learn Django.
經過大量研究,英格拉姆提出了一種“非常復雜的方法”來構建網站,并著手尋找可以給他反饋的導師或高級開發人員。 他笑著說:“我在Codementor上遇到的第一個人告訴我,我的實施計劃是完全錯誤的?!?幸運的是,這并不是徒勞的,因為導師向他指出了正確的方向:學習Django。
And so he did. But as a full-time lawyer with limited free time, Ingram needed a way to learn code that could fit into his busy schedule. But traditional teaching methods weren’t a good fit: “With bootcamps, you need to be physically on site or adhere to their teaching schedule.” Instead, he started teaching himself by buying a book, watching Youtube videos, and purchasing several Udemy courses.
所以他做到了。 但是作為一名有限時間的專職律師,英格拉姆需要一種方法來學習適合自己繁忙日程的代碼。 但是傳統的教學方法并不適合:“在進行訓練營時,您需要身臨其境,或者遵守其教學時間表?!?相反,他通過買書,觀看Youtube視頻和購買一些Udemy課程開始自學。
After a while, he realized he was making decisions that would have a butterfly effect on future decisions. He figured he could either continue puzzling together advice from YouTube videos, or work with a mentor that knew what they were doing and could help him make better decisions.
一段時間后,他意識到自己正在做出可能對未來決策產生蝴蝶影響的決策。 他認為他可以繼續從YouTube視頻中獲得令人困惑的建議,或者與知道他們在做什么的導師一起工作,并可以幫助他做出更好的決定。
He chose the latter.
他選擇了后者。
Ingram chatted with a couple of mentors and eventually found Jessamyn, a mentor he’s been consistently working with for years now. They started out working together a couple of times a week before increasing it to multiple times a week as his project (and budget) increased.
英格拉姆與幾位導師聊天,最終找到了與自己多年合作的導師杰薩米恩(Jessamyn) 。 他們開始每周進行幾次合作,然后隨著他的項目(和預算)的增加將其增加到每周多次。
One surprising takeaway was how helpful working with a mentor was for learning the most basic things.
一個令人驚訝的收獲是,與導師一起工作對于學習最基本的知識有多大幫助。
“It was like my 10th session, when Jessamyn asked off-handedly where I was saving my code,” he shared. And like most non-technical people, Ingram saved the project on his laptop. In that session, he learned about Git, how to use it, and how a programmer would actually run a project. “Of course, there are YouTube videos on how to use Git, but if you don’t know that it exists, you wouldn’t know to search for it in the first place.”
他分享道:“就像我的第十屆會議時,杰薩米(Jessamyn)隨手問我在哪里保存代碼?!?和大多數非技術人員一樣,英格拉姆將項目保存在筆記本電腦上。 在那次會議上,他了解了Git,如何使用它以及程序員如何實際運行項目。 “當然,有關于如何使用Git的YouTube視頻,但是如果您不知道它的存在,那么您根本就不會搜索它。”
“I’m not interested in becoming a developer. I’m just interested in building a specific project,” he emphasized when we talked about his learning journey. With traditional learning models, the foundation building, while critical, did not fit into Ingram’s schedule. “The problem with the foundation learning model for me is that I don’t understand why the content will be useful until many months later by which time I’ve forgotten the lesson and have to relearn it. “
“我對成為開發人員不感興趣。 我只是對建立一個特定的項目感興趣,”當我們談到他的學習歷程時,他強調說。 使用傳統的學習模型,基礎建設雖然很關鍵,卻不符合英格拉姆的時間表。 “對我來說,基礎學習模型的問題在于,我不明白為什么內容會有用,直到幾個月后我才忘記了這一課,不得不重新學習。 “
He uses a goal-oriented approach when learning. “I usually know what I want to create,” Ingram said about his learning process. He spends time going through online resources and documentation — “the free official documentation for Python and Django have been the most useful” — before coming up with an implementation plan he shares with the mentor. “I try to do as much as I can on my own, and get Jessamyn’s approval early on,” he shared, “It’s an iterative process. Usually, if I’ve put enough thought into it beforehand, the concept works out the first time, but sometimes considerations that I never even thought of pop up once I start implementing.”
學習時,他使用面向目標的方法。 “我通常知道我想創造什么,”英格拉姆談到他的學習過程時說道。 在制定與導師共享的實施計劃之前,他花時間瀏覽了在線資源和文檔-“免費的Python和Django官方文檔非常有用”。 他分享道:“我會盡自己所能,盡早獲得杰薩明的批準,”他說,“這是一個反復的過程。 通常,如果我事先已經進行了足夠的考慮,那么該概念將在第一時間就付諸實踐,但是有時候考慮到一旦我開始實施,我什至沒有想到過彈出這些提示?!?
However, with a demanding full-time job, there are days when he tries to shortcut the learning process: “It’s usually after I’ve pulled a couple of all nighters at work, or I reasonably believe that I won’t encounter a specific issue again.” During these sessions, he’ll learn by watching the mentor code and ask questions as she goes, which is much less demanding. “But I have to say, in almost every case, I end up encountering the problem again and have to spend more money and time to master what she did,” he said, “It usually pays to just pay attention and learn it properly the first time.”
但是,由于要求全職工作,他有時會試圖縮短學習過程:“通常是在我上班熬夜的幾個晚上之后,或者我有理由相信自己不會遇到特定的情況。再次發出?!?在這些課程中,他將通過觀看指導者代碼來學習,并在她進行過程中提問,這要求不高。 他說:“但是我不得不說,在幾乎每種情況下,我最終都會再次遇到這個問題,并且不得不花費更多的金錢和時間來掌握她所做的事情,通常要注意并正確地學習它。第一次?!?
It’s been four years since Ingram started on his programming journey, and State of K is steadily growing its user base. While his learning process can be described as “problem solving”, at this point, he’s “probably already learned every topic in the Django library and could apply that knowledge to other projects.” This has been echoed by his mentor, Jessamyn: “Ingram showed incredible growth as a developer over the several years I was actively mentoring him. He went from a novice to being able to develop quite complex features.”
從英格拉姆開始編程之旅已經過去四年了,K州正在穩步發展其用戶群。 雖然他的學習過程可以描述為“問題解決”,但到現在為止,他“可能已經學習了Django庫中的每個主題,并將這些知識應用于其他項目。” 他的導師杰薩米(Jessamyn)對此表示贊同:“在我積極指導他的幾年中,英格拉姆的開發人員發展驚人。 他從新手發展到能夠開發相當復雜的功能。”
“Have I learned Django more slowly than someone else? Definitely. But I’ve also done it while working a full-time job, which I think is also pretty great.
“我學習Django的速度比其他人慢嗎? 絕對是 但是我在做全職工作時也做到了,我認為這也很棒。
Originally published at Codementor .
最初在 Codementor上 發布 。
翻譯自: https://medium.com/@CodementorIO/learning-django-through-problem-solving-how-a-lawyer-built-his-side-project-209b7aced659
django構建網頁
總結
以上是生活随笔為你收集整理的django构建网页_通过解决问题的方式学习django,律师如何构建副业的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Western Digital使用540
- 下一篇: 慈溪微生活图标_日常生活中的图标