Coder Social home page Coder Social logo

ask's Introduction

  • 👋 Hi, I’m @happypeter
  • 👀 I’m interested in Web development
  • 🌱 I’m currently learning GPT

ask's People

Contributors

happypeter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jasonzh01m

ask's Issues

在rails项目中,前端开发要怎么进行

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,是否功能一样?

About the meteorjs.(New meteorjs study)

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.

React in Meteor中,用户问题。

还是没太明白,就是在Meteor中结合React,发布与订阅怎么实现?用户注册应该怎么自己去订制?主要是API的哪些接口不懂,没什么思路。
关于用户注册的API是Password部分么?而Accounts部分的API是对用户行为进行操作的?
不同的路由是否可以共同使用?

peter

Hi Peter

作为一个不是计算机专业的,现在也干的不是计算机怎么去找第一份互联网行业的工作!

之前找人注册过

基本流程如下

查名
准备资料
银行开户

我是找的代报账,目前零申报,每月200。在淘宝找的专门做企业服务的很省心。

peter老师,请问在小白变怪兽的网页中,是如何做到左边的播放按钮与右边的详情等高的?

http://c.haoduoshipin.com/guaishou/index.html

我当前在临摹这个页面,我搜索了网上的两列等高布局,通常是用“padding补偿法”,但是我尝试这种方法,会导致背景图片中的播放图标跑出了中心位置。

我尝试查看您是怎么写的。发现您在a.video里写的是:

a.video{
    height: 100%;
}

但是我想到,这里height:100%起作用的前提是,父元素有高度,但是在父元素div class=card这个容器中,并没有看到相关的高度设置,那card的高度显然是被子元素撑搞的。

所以想请问您是如何做到的?

注册公司流程

个人,无办公地点,无资金,如何办理公司资质?

大家把自己知道的往这里来贴贴吧?有问题的问问也

I try to use the meteor-postgres, but fail do you know how to use the meteor-postgres

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.

webapck 打包文件太大如何解决?

Peter老师你好。

我来试试这个ask效果如何哈哈

我最近用webpack + react做了一个简历页面。

源码在这里:AnnatarHe/iamhele.com

然而打包出来的文件足足有1.9M大。

浏览页面,14s才把js文件下载完。

这里预览

所以请问一下老师有没有什么合适的方法能缩小一点儿文件大小。

最好是拆分成3-4的请求的样子。

谢谢老师 ^_^

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.