如何开始编辑 Chromium 的源代码?
我是一个有点新手的程序员(我的意思是我精通多种编程语言,但从未参加过正式课程),并且希望出于自己的目的对 Chromium Web 浏览器进行大量修改。我需要对 UI 进行重大更改,并对 V8 嵌入式 javascript 引擎进行一些重大更改,我想知道可以从哪里开始。我想我真正需要知道的是:
- 我是否应该遵守某些编程约定才能更好地理解 Chromium 的工作原理?
- 是否有关于源文件系统如何工作的指南/教程?
- 有没有关于如何专门编辑/解释 Chromium 源代码的指南/教程?
- 我应该尝试修改 Chromium,还是应该尝试使用 WebKit 和 V8 构建自己的 Web 浏览器?
- 我也在考虑使用基于 FireFox 的浏览器。这样会比较容易上手吗?由于我计划在工作中学习,因此我希望能够理解
任何帮助,以及来自您自己的个人经历的任何智慧宝石,我们将不胜感激。
PS:我正在运行 Ubuntu 11.10,如果这有什么区别的话。
I am a somewhat novice programmer (by which I mean I am proficient in many programming languages, but have never taken formal classes) and would like to heavily mod the Chromium web browser for my own purposes. I would need to change the UI significantly, as well as make somewhat major changes to the V8 embedded javascript engine, and I would like to know where I can start. I guess what I really need to know is:
- Are there certain programming conventions I should observe to better understand how Chromium works?
- Are there any guides/tutorials on how the file system used for the source works?
- Are there any guides/tutorials on how to edit/interpret the Chromium source code specifically?
- Should I try to mod Chromium, or should I try to build my own web browser using WebKit and V8?
- I am also considering basing by browser on FireFox. Would that be easier to get started with? Since I plan on learning as I work, I would like to be able to understand the
Any help would be greatly appreciated, as well as any gems of wisdom from your own, personal experiences.
P.S.: I'm running Ubuntu 11.10, if that makes a difference at all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Chromium.org 网站有一些资源:
(听起来是 RTFM-y,我知道,抱歉)
也就是说,您可能最好调整现有的浏览器代码库,而不是“从头开始”创建一个浏览器代码库 - 我认为这是一项至少令人畏惧的任务。
The Chromium.org site has some resources :
(Sounds RTFM-y, I know, sorry)
That said, you're probably better of tweaking an existing browser codebase rather than creating one "from scratch" - a task which I would assume to be daunting at least.