Giter Site home page Giter Site logo

onestep's Issues

Admin 可以创建课程

  • 创建课程本身有相应的 web 界面,但是上传图片视频还是要通过命令行来做。

A course has many videos

http://jqueryair.com/levels/5 has "chapter list" for each video, nice but not as nice as lynda.com style.

Why not we just have many micro videos, and organize them with a book-like index.

If each video is short, it's also to update some, if some errors occur.

用户个人主页

it will be like github

url/happypeter

if user try to signup using my shit in route.rb, like they want to use logout as his username,
the site will tell him "Username is a reserved word", like github does.

video player

No light-box, user must be able to write comments while watching the video.

视频录成宽屏(16:9)还是标屏(4:3)

一下是一些知名网站的做法:

lynda.com use 16:9
railscasts.com user 120:75,最早也用 4:3,现在用宽屏,不过比 16:9 窄一点
teamtreehouse 16:9
优酷: 16:9
codeschool.com: 标屏 4:3

Blog

github 是这种格式的 link:

 https://github.com/blog/1311-html-pipeline-chainable-content-filters

由于咱们这里的博客以中文为主,所以就这样吧:

http://hpcasts.com/blog/2

网站总体结构

by @asmcos

我们做3级页面?
一级:首页,
二级:展示某门课程:例如,rails入门blog, 5天 ,ruby基础的3次课程,rails基础3次课程,数据库,模板,。。。。
三级:展示 ruby基础的3次的第一次,安装和使用

add admin roles

There is a super admin named admin

then common users have a "afmin" fileld in db, if it's not Null ( say 1 )
then user.admin? return true.

On top of that I can use cancan

hpcasts.com 的商业模式

by @asmcos

最近我邀请了4、5位好友为hpcasts.com录制视频。
大家会问到:hpcasts.com将来做成什么样?商业?非商业?如果是商业如何盈利?

我把我的想法说说,大家讨论讨论。

hpcasts.com 是提供视频学习的社区。
不仅仅是视频,还有在线编程,在线答题、答疑。

学习内容包含如下:
(1)按照级别分类
基础、中级、高级。也是所谓的从入门到精通。
(2) 按照老师分类
海外IT专家(主要是华人)、国内IT专家、高校老师、普通IT工程师
(3)内容分类
IT基础知识,编程语言,独立项目

费用:
(1) 收费比例
20% 内容 免费
80% 内容 收费

(2)收费方式
包月每个月100-200元,观看任何视频

老师收益:
按照月收入结算;
总收入减去 运营比例(30%)剩下70% 分配给全站老师。
每位老师的费用按单月视频观看量平均分配。

观看量的计算方法:
视频播放5分钟以上才计算次数;
每位学生 重复观看同一视频的只能算1次。

v0.4 发布啦。。。

代码状态

2e4ab0d

完成的功能

#31

  • 只有 admin 可以创建和管理课程了,普通用户只能观看并发评论。( ID:admin PW: 111111)
  • courses#show 页面有了更好的外观

基本需求

From @asmcos

我希望在公益网站首页添加 《千人免费学》 公益活动。
内容:
1. 展现各个学习课程;
2. 点击可以进入到每个课程;
3.课程页面,包含:授课老师,课程资源(教材,视频,网络资源),学生(已经学习的,将要学习的),课程讨论问答

onestep, why the name?

one step one time, learning should be fun!

onestep is just the codename, but I love it, this give me a feeling of solid work.

v0.3 发布啦。。。

代码状态

a31cb2c

完成的功能

#25

  • 采用了 twitter bootstrap,页面布局可以自适应手机屏幕
  • 更新了网站主页,配合市场宣传
  • 主要都是前端,其他基本没动

反馈与迭代

大家帮忙看看手机上显示会不会有问题

v0.5 发布啦。。。

代码状态

77b582b

完成功能

  1. 发评论,点击课表的下一个视频都 ajax 化了

存在问题

  1. ajax 本身固有的 url 不更新带来的问题,考虑使用 Pjax,在未来

URL 的结构

github : github.com/username/projectname
lynda.com: lynda.com/category/classname
udemy: udemy.com/classname

Which is the best for us?

V0.1 发布啦。。。

代码状态

b5eb49c

完成的功能

  • 用户可以注册并登陆 #5
  • 用户可以在首页上看到课程列表,并可以新建课程 #13
  • 打开具体某一门课程,可以看到课程详情,并可以播放课程 #18

反馈并迭代

@limingth @asmcos @luckyyang 大家多批评,大家的智慧会体现在下周我们要发布的 V0.2 版中

前端设计宏观

我的意思就是,照抄 github,除非必要,github 上怎么写,我们就怎么写。

但是:

  1. 颜色主题要换,github 用蓝色较多,我们可以改用绿色
  2. 再从其他各种网站上抄各种元件。要求就是要和 github 的全白 background 配合好。

v0.2 发布啦。。。

代码状态

2f0cb7c

完成的功能

#21

  • 用户新建课程之后,课程页面会显示“课程表为空”
  • 这时可以添加第0个视频,这个是“课程内容简介”
  • 接下来可以添加正课: 第一节,第二节...
  • 这样课程表就生成了,点击哪一节课,那节课的标题就会高亮,同时播放器会播放这节课

反馈与迭代

下面是一些测试用的视频,大家可以创建一门新课测一下。

http://media.happycasts.net/course-name/intro.mov
http://media.happycasts.net/course-name/v1.mov
http://media.happycasts.net/course-name/v2.mov
http://media.happycasts.net/course-name/v3.mov

有一个问题是,在极端糟糕的网络条件下,播放器会只缓冲,不播放。大家在自己的机器上帮我看一下,有没有视频打不开的情况?
@limingth @asmcos @luckyyang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.