`
冉翔
  • 浏览: 72375 次
  • 性别: Icon_minigender_1
  • 来自: 未来
社区版块
存档分类
最新评论

A Beautiful Day

    博客分类:
  • ajax
阅读更多
    周一下午,接到刘同学公司的电话面试,简单聊了一些,感觉还不错。然后互相加了MSN,对方要求我做一个DEMO。当时充满乐观滴说了一天就OK,结果真正做的时候发现了很多困难。然后延期,直到刚刚,终于做出来了自己稍微满意的地步,提交了。嗯,长长了舒了口气,我要睡个安稳觉老。

    任务就是做一个页面,里面有一些AJAX方式的小逻辑。要求用ror和jquery,ror虽然没有实战经验,但也学习了一段时间了,下过一些功夫。可jquery,貌似在很久以前就看过一眼,基本上属于只听伊人声,从未见伊人面的境界啊。然后恶补,做技术探索。这个任务还要求有拖拽效果,于是想想基于jquery的js库什么能做到呢。前几天刚看了下新发布的jquery-ui就有这个效果,嗯,那就尝试用它吧。还好,不是太难,不过文档实在太少,最后在googlegroup里找到了答案。
    任务上明确说了要做一个分页效果,一开始没当回事,后来才发现麻烦大了。哎哎,默认的paginate达不到我要的效果滴。结果就google啊,try啊。尝试will paginate插件,结果按照找到的文档做,发现依然有问题。最后实在崩溃,决定自己写算了。然后找了个示例代码,简单改吧改吧,结果就OK了。
    最痛苦滴事情莫过于JS调试了。嗯,像俺这种做ServerSide好多年滴愚人,突然间做AJAX效果,还不是以前自学时玩的那种巨傻的演示,所以实在是糟糕透了。bug满天飞,气的我是满头大汗啊。还好,凭着我坚定滴信念。彪悍的人生全用alert给调完了一遍。最后测试一圈没问题之后,心跳终于恢复到了平均值。然后开始想念以前呆过的那些公司里做前台JS的同事,好想立刻飞到他们面前,深深鞠上一躬:同志们辛苦了。
    自从把这个blog升级到了MT4之后就开始非常注重web standards,这次做这个任务一开始,也就早早的把table换成了div和span。可是,换标签易,写CSS难啊。像我这种巨没审美滴人最后凭借Dreamweaver还是战胜了重回table的诱惑,至少给页面添加了个大概模样。然后突然间感慨,1个月前装上windows是正确滴选择,不然哪有dreamweaver相助咧。嗯,看来过几天等Ubuntu 7.10发布后,我也不能把windows卸载了。关键时刻,上面那些linux没有的软件还是非常重要滴。
     嗯,码了这么多字,发现窗户口的小鸟都开始JJYY了,听的我神清气爽。今天应该是个好天吧。希望白天阳光晒的足足滴,好让我美美滴睡上一觉。
     虽然这会感觉有点累了,但是心里确其爽无比。因为在短时间内学习了新的技术,还做出来了小东西实在够开心的。所以说,人,还是有压力才有动力啊。这两天学的东西,就比自己学一个礼拜的进步要大。嗯~~~~~还是快点上班吧!~!~!~~~~~~~,不然脑子都生锈了。阿门,如来,耶稣,观世音,真主啊,快点赐我一份好工作哈。
分享到:
评论

相关推荐

    大学体验英语3级答案文件

    A:it’s a beautiful day! B:yeah ,a good day for running. 2A:hello ,I’m home B:hi, how are you A:I’m tired it’s good to be home 3A:good morning B:good morning A:I’m mia clark .is mr lee here ...

    大学体验英语听力上机答案3级

    A:it’s a beautiful day! B:yeah ,a good day for running. 2A:hello ,I’m home B:hi, how are you A:I’m tired it’s good to be home 3A:good morning B:good morning A:I’m mia clark .is mr lee here ...

    2012英语资料

    B:What a beautiful day! C:Help yourself! D:It's very kind of you! 15、- I hope you have a most happy and prosperous new year! - _________ A:You are welcome! B:How smart you are! C:The same to...

    ASP trim,ltrim,rtrim 去前后空格 函数

    在获取字符串时,用trim...使用方法: password=trim(request(“password”)) 代码如下: dim txttxt=” This is a beautiful day! ” [removed](Trim(txt)) 输出:”This is a beautiful day!” ASP LTrim 函数 LTrim

    matlab能不能屏蔽一段代码-Lobster-Templates:Lobster是一个简单的MATLAB模板引擎

    matlab不能屏蔽一段代码...beautiful day.'}); >> context.name = 'Mark'; >> tpl.render() ans = Hello Mark! It's a beautiful day. 您还可以从文件加载模板: >> tpl = LTemplate.load('template.tpl'); 上下文变

    A Practical Guide to Designing with Data.pdf

    interesting illustration – makes my day. Some people re-read the same book over and over; I can stare at a dense illustration and re-read its story. It makes me ask, “What caused these numbers? ...

    2008年6月大学英语六级A卷真题

    She says: “I believe that the day is not far off when we will be able to prescribe drugs that cause severed (断裂的) spinal cords to heal, hearts to regenerate and lost limbs to regrow.” “People ...

    xx市20xx春季学期期末素质教育测评试卷七年级英语.doc

    A.have a look B.have fun C.have deserts D.have a nice day ( ) 29. —How is your English teacher? —She is kind to us. She always helps us. A.strict B.popular C.friendly D.cool ( ) 30. —Do you...

    八年级英语期末试卷修正.doc

    Three times a day. B. 2 pills at a time. C. For 4 hours. 8. A. I’m 14 years old. B. I like apples. C. I had a fight with my brother. 9. A. Yes, I do. B. No, I can’t. C. No, I won’t....

    Mountain Watching

    One day, Bessie was gazing off into the distance at the beautiful Wisconsin mountains when she wondered to herself: which mountain is the widest one? She decided to take N (1 ,000) equally-spaced ...

    [3planesoft屏幕保护程序合集].Premium.3D.Screensavers.iso

    Know the exact time of 24 hours a day will help the clock tower on your desktop PC. The clock strikes every 15, 30, 45 and 60 minutes. Observe the change of day and night: watch face that lit up the ...

    BingWallpaper.exe

    Bing Wallpaper includes a collection of beautiful images from around the world that have been featured on the Bing homepage. Not only will you see a new image on your desktop each day, but you can ...

    JavaScript Web Applications

    Beautiful interfaces can be coded in a fraction of the time previously required, and without all that notorious image cutting and splicing. Support for HTML5 and CSS3 is getting better every day, but...

    [Photoshop] Photoshop CS5 实战手册 (英文版)

    It covers Photoshop from a practical standpoint, with tips, tricks, and practical advice you can use every day to edit photos and create beautiful documents. Whether you're a beginner or an ...

    Android代码-SwipeSelector

    Unfortunately, there were no ready-made solutions to achieve this, so I spent a good day working on this very thing I call SwipeSelector. minSDK Version SwipeSelector supports API levels all the way

    Mastering iOS 11 Programming, 2nd Edition-Packt Publishing(2017).pdf

    Being able to write apps with Swift's beautiful, readable, and straightforward syntax instead of having to write clunky Objective-C code suddenly enabled a lot of people to play around with iOS ...

    Mastering iOS 11 Programming, 2nd Edition-Packt Publishing(2017).pdf )

    beautiful, readable, and straightforward syntax instead of having to write clunky Objective-C code suddenly enabled a lot of people to play around with iOS development. For me, Swift sparked a renewed...

    xx区20xx年七年级下学期期末考试英语试题.doc

    20xx年第二学期期末调研测试 ... Because they can make our house beautiful. B. Because they can give us wood. C. Because they can give us fresh air. 听第一篇短文,回答第11至13题。请根据内容从A、B、C

    Android代码-Muzei

    Display a beautiful image from Google Earth as your wallpaper every day with configurations. You can enable Wi-Fi only mode where the app only downloads the wallpapers only if the device is connected...

    Android代码-circular-music-progressbar

    This Circular Progress bar is a designed and made for music players that need beautiful music progress bar. Choosed for best of the day at uplabs.com Usage To use Circular Music ProgressBar you must ...

Global site tag (gtag.js) - Google Analytics