- 👋 Hi, I’m @happypeter
- 👀 I’m interested in Web development
- 🌱 I’m currently learning GPT
happypeter / ask Goto Github PK
View Code? Open in Web Editor NEW每日一答
每日一答
https://www.gitbook.com/book/ccbikai/http-book/details
很不错的教程,花了一小时通读了一遍,对个别细节的理解更进了一步,不过图片在我这都挂了...
:)
Hi peter:
问题:作为一名不懂rails的前端,需要如何在rails项目中进行前端开发?
困惑一:rails 的 asset pipeline 已经很好的处理了 CSS、JavaScript 静态资源的压缩问题,Sass、CoffeeScript 的编译问题等等,提供了一整套的解决方案;那相对于来说:前端的自动化构建工具,比如gulp,webpack 等在 rails 项目里失去了用武之地;举个例子:比如我需要使用 autoprefixer, 如果是前后端分离,那我可以在 gulp 里配置 autoprefixer;而在 rails 里虽然也有 autoprefixer-rails gem, 但不是所有的插件都有人去封装对应的 rails gem;这对前端来说不够友好。
困惑二: 在 rails 项目中,前后端先按照PSD 转成HTML,添加交互;然后给后端去集成,也就是套页面的过程,之后还会有一些兼容性的问题,需要前端再反过去调整,这个过程是会反复交叉持续的;难免在这个过程会出现问题,另外,前端也需要去学习基本的的 rails 概念,也会增加新人的学习成本 。
iron:router中:
Router.go('home');
这是重定向的意思吗?
在react router中,我看到也有go
的API,是否功能一样?
when I hava inputed $ curl https://install.meteor.com/ | sh
I got this error :
curl: (6) Could not resolve host: d3sqy0vbqsdhku.cloudfront.net
some suggestions?
I am just look at the meteor.js, wonder fellows:
1, it seems currently the meteorjs only focus on mongodb, but for those relationship which is not easy to represent in mongodb like many to many relationships how to deal with those orm?
2, How do you did data migration, do meteorjs provide some tools for that?
3, what kind of technology meteorjs deal with package management, can I apply other package like ojbect.js replace the meteor by myself?
4, what kind of technology meteorjs used replace the REST.
还是没太明白,就是在Meteor中结合React,发布与订阅怎么实现?用户注册应该怎么自己去订制?主要是API的哪些接口不懂,没什么思路。
关于用户注册的API是Password部分么?而Accounts部分的API是对用户行为进行操作的?
不同的路由是否可以共同使用?
Hi Peter
作为一个不是计算机专业的,现在也干的不是计算机怎么去找第一份互联网行业的工作!
基本流程如下
查名
准备资料
银行开户
我是找的代报账,目前零申报,每月200。在淘宝找的专门做企业服务的很省心。
http://c.haoduoshipin.com/guaishou/index.html
我当前在临摹这个页面,我搜索了网上的两列等高布局,通常是用“padding补偿法”,但是我尝试这种方法,会导致背景图片中的播放图标跑出了中心位置。
我尝试查看您是怎么写的。发现您在a.video里写的是:
a.video{
height: 100%;
}
但是我想到,这里height:100%起作用的前提是,父元素有高度,但是在父元素div class=card这个容器中,并没有看到相关的高度设置,那card的高度显然是被子元素撑搞的。
所以想请问您是如何做到的?
个人,无办公地点,无资金,如何办理公司资质?
大家把自己知道的往这里来贴贴吧?有问题的问问也
The issue is here.
I already reported.
Do you know how to use the meteor with postgres?
I want to develop common e-shop via meteor.js. But I do not want to apply it on mongodb as it schema-less and I find the lost to inner join selection(cross table search ) after you build the e-shop.
Any suggest about the database designing if I want to build:
1,Consistency.
2, Visibility of data and the behaviour of the system.
3,Correctness and explicitness.
4,Scalability.
Peter老师你好。
我来试试这个ask效果如何哈哈
我最近用webpack + react做了一个简历页面。
源码在这里:AnnatarHe/iamhele.com
然而打包出来的文件足足有1.9M大。
浏览页面,14s才把js文件下载完。
所以请问一下老师有没有什么合适的方法能缩小一点儿文件大小。
最好是拆分成3-4的请求的样子。
谢谢老师 ^_^
just like title.
便于跟大家无缝沟通,仿照:https://github.com/wesbos/ama
之前在好多视频网评论区看到的,你说你很喜欢那位老师,你的讲课风格受他的影响很大,如今他自己做了个视频网站,自己录的课放在上面。
1.那位外国老师叫什么名字?
2.他自立门户之前的视频是发布在哪个网站上的?
3.他自己创立的网站叫什么名字?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.