jslu + framework   189

Writing Unit Tests With Spock Framework: Creating a Gradle Project
The Groovy plugin extends the project layout of the Java plugin by adding the Groovy related directories into our Gradle build
@Article  @HOWTO  Java  TDD  Software  Framework  Tutorial  Tip 
august 2018 by jslu
[Semaphore] Stubbing and Mocking in Java with the Spock Testing Framework
Spock was created to cover the full testing lifecycle of a Java Enterprise application. The existing tools have a long history and come with several legacy features that cannot always keep up with newer testing practices. The most evident example of this is the fact that JUnit covers only plain unit testing and nothing else. If you need to mock some services or wish to employ Behavior-driven development, JUnit is simply not enough. You are forced to add more testing frameworks into the mix, each one with its own idiosyncrasies and issues.
@Article  @Comparison  @Concept  @HOWTO  @Example  TDD  Java  Software  Framework  Feedback-receiving  Agility  Tutorial 
august 2018 by jslu
iot.eclipse.org - IoT development made simple
Eclipse IoT provides the technology needed to build IoT Devices, Gateways, and Cloud Platforms.
@Site  @Project  IoT  Software  Hardware  Framework  OpenSource 
august 2018 by jslu
Home - EdgeX Foundry
EdgeX Foundry™ is a vendor-neutral open source project building a common open framework for IoT edge computing. At the heart of the project is an interoperability framework hosted within a full hardware- and OS-agnostic reference software platform to enable an ecosystem of plug-and-play components that unifies the marketplace and accelerates the deployment of IoT solutions.
@Site  @Project  IoT  Software  Hardware  Framework  OpenSource 
august 2018 by jslu
[Pluralsight] Introduction to testing with BDD and the Spock Framework
This has been an introduction to the Spock framework and BDD. I hope you can see how readable and accessible is to test with the help of Groovy and this framework.
@Article  @HOWTO  @Concept  @Example  Java  Software  TDD  Framework  Reading  InterpersonalCommunication  Fault-tolerance  Feedback-receiving  Agility  Productivity  HabitRoutineAndPattern  Tutorial  Tip 
august 2018 by jslu
Foundations of Machine Learning
GET A DEEP UNDERSTANDING OF THE CONCEPTS, TECHNIQUES AND MATHEMATICAL FRAMEWORKS USED BY EXPERTS IN MACHINE LEARNING
@CourseOutline  @Video  @Concept  MachineLearning  Math  Software  Engineering  Business  Framework  Tutorial 
july 2018 by jslu
History of Spring Framework and Spring Boot
In October 2002, Rod Johnson wrote a book titled "Expert One-on-One J2EE Design and Development". Published by Wrox, this book covered the state of Java enterprise application development at the time and pointed out a number of major deficiencies with Java EE and EJB component framework. In the book he proposed a simpler solution based on ordinary java classes (POJO – plain old java objects) and dependency injection. ... One-on-One J2EE Design and Development was an instant hit. Much...
@Article  @Concept  @Comparison  History  Java  Software  Programming  Framework  OOAD  HabitRoutineAndPattern  Anecdote  OpenSource  EncapsulationAndDecoupling 
april 2018 by jslu
[Words and Code] Safer SQL: Using ActiveRecord Transactions
There’s one golden rule of the transaction block: it will only rollback the transaction if an error is raised. Why is this important? Well, calling something like save or destroy inside of a transaction will not raise an error; if something goes wrong, these methods will simply return false. Which means that our transaction block will continue, since there was no error raised!
@Article  @Concept  @HOWTO  @Example  Database  DataSync  Ruby  WebApp  Software  Framework  Tutorial  Tip 
december 2017 by jslu
Introducing Functions as a Service (FaaS)
Functions as a Service or (OpenFaaS) is a framework for building Serverless functions on top of containers. I began the project as a proof of concept in October last year when I wanted to understand if I could run Alexa skills or Lambda functions on Docker Swarm. After some initial success I released the first version of the code in Golang on GitHub in the December.
@Article  @Concept  CloudComputing  Functional  Software  Framework  EncapsulationAndDecoupling  Virtualization  Scalability  DevOps  SystemArchitecture 
december 2017 by jslu
[Ruby Journal] How to write custom serializer for ActiveRecord#serialize
remember that serialze takes the serializer class name as the second argument, and the serializer must have 2 methods `load` and `dump`.
@Article  @HOWTO  @Example  Ruby  WebApp  Software  Framework 
september 2017 by jslu
Getting started with Rails and GraphQL
GraphQL is an application layer query language from Facebook. You can describe your API using a schema (a graph). All your clients can then query your data through the schema. GraphQL tries to solve one of the biggest problems we have with REST APIs these days: Changing data requirements in the clients.
@Article  @Concept  @HOWTO  @Example  API  WebService  WebApp  Database  Software  Ruby  Framework  Agility  Adaptability  EncapsulationAndDecoupling  Tutorial 
april 2017 by jslu
Create a many-to-many ActiveRecord association in Ruby on Rails with has_many :through and has_and_belongs_to_many
In this article I'll go through the creation of a many-to-many relationship with the built-in Ruby on Rails ActiveRecord associations, has_many :through and has_and_belongs_to_many:. Additionally, the specific differences between the two will be examined, but before all that let's first get some background on what is a many-to-many relationship
@Article  @HOWTO  @Concept  @Comparison  @Example  Ruby  WebApp  Framework  Database  Tutorial 
april 2017 by jslu
[Jenkov] AngularJS Custom Directives
The compile() function is called once for each occurrence of the directive in the HTML page. The compile() function can then do any one-time configuration needed of the element containing the directive.

The compile() function finishes by returning the link() function. The link() function is called every time the element is to be bound to data in the $scope object.
@Article  @Concept  @HOWTO  @Example  JavaScript  UI  Software  Framework  Tutorial 
december 2016 by jslu
[Jenkov] AngularJS Critique
Don't get me wrong. You can make web apps just fine with AngularJS. There are just some aspects I don't like - choices I don't agree with. These are:
* The AngularJS directives are a suboptimal choice for HTML generation.
* The 2-way data binding is not always that useful.
@Article  @Concept  @Comparison  @HOWTO  JavaScript  Software  WebDesign  UI  Framework  Programming  Language  MeaningManagement 
december 2016 by jslu
[Jenkov] AngularJS $watch() , $digest() and $apply()
The AngularJS $scope functions $watch(), $digest() and $apply() are some of the central functions in AngularJS. Understanding $watch(), $digest() and $apply() is essential in order to understand AngularJS.
@Article  @Concept  @HOWTO  @Example  JavaScript  Software  UI  Framework  Tutorial  @Comparison  DataSync 
december 2016 by jslu
Rails autoloading — how it works, and when it doesn't
I’m not going to address whether these features are good for our development practices. I happen to believe they’re both harmful, but that’s another article. Instead I’m going to talk about the significant complexity lying behind them, and the problems it can cause.
@Article  @Concept  @HOWTO  @Example  Ruby  WebApp  Software  Framework  Simplicity 
november 2016 by jslu
DevFreeBooks
A huge collection of free books for developers
@Project  @eBook  @Download  Software  Programming  Language  Framework  FreeOfCharge 
november 2016 by jslu
[Gist] How to use Rails 3.0's new notification system to inject custom log events
With Rails 3.0 released a few weeks ago I've migrated a few apps and I'm constantly finding useful new improvements. One such improvement is the ability to log anything in the same way that Rails internally logs ActiveRecord and ActionView.
@Article  @HOWTO  @Example  Ruby  WebApp  Software  Framework  Tutorial  Tip 
november 2016 by jslu
[SitePoint] Introduction to Functional Reactive Programming with RxJS
one of the best things about RxJS is Rx itself, which is available on many platforms. This makes the transition to other languages, platforms, or systems quite easy. It also unifies some of the concepts of reactive programming in a set of methods that are concise and composable.
@Article  @Concept  @Comparison  @Example  @HOWTO  JavaScript  DataSync  UI  Programming  Framework  Tutorial 
october 2016 by jslu
Eugen’s Journal – Overview of Reactive GUI Programming
the parts of a GUI program that are concerned with interactivity are arguably the hardest to tame. ... The classical approach to handle user/signal input and interactions between GUI components is callback-based. But callbacks have a couple of severe deficits. ... Reactive programming is generally regarded as a promising alternative to callback-based programming without its shortcomings.
@Article  @Concept  @Comparison  UI  Software  SystemArchitecture  HabitRoutineAndPattern  DataSync  Programming  Problem-solving  InterpersonalCommunication  Tutorial  Animation  @Reference  Framework  OOAD 
october 2016 by jslu
[RailsTips] Flipper: Insanely Easy Feature Flipping
Nearly three years ago, I started work on Flipper. Even though there were other feature flipping libraries out there at the time, most notably rollout, I decided to whip up my own. Repeating others is, after all, one of the better ways to level up your game. My main issue with rollout was that it was inflexible. You couldn’t change the ways in which a feature was enabled (ie: adding percentage of time rollout). You had to use redis. The list goes on. I poked around and couldn’t find ...
@Article  @Story  @Comparison  Ruby  WebApp  Software  Framework  Logic  Plug-in 
august 2016 by jslu
Cookies on Rails | BigBinary Blog
Notice that towards the end unescaped_content has -- . That is a separation marker. The value before -- is the real payload. The value after -- is digest of data.
@Article  @Concept  @HOWTO  @Example  Ruby  WebApp  Framework  Security  Software 
august 2016 by jslu
[ZeeMee Engineering] Scaling Rails to 125,000 Requests per Minute on Heroku
Watch your database IOPS. We hit the limit here before we hit CPU or memory limits, which was a surprise. Eventually, you’ll need PgBouncer so that you don’t max out the number of connections to Postgres (limited to 500 for bigger database plans).
@Article  @HOWTO  @Reference  @Example  WebApp  Scalability  CloudComputing  QAnQC  Software  Ruby  Framework  Hardware  Database  Tip 
august 2016 by jslu
[Medium] Starting a Ruby on Rails project from existing data
Ideally when you are starting a Ruby on Rails project you’re starting from scratch and most tutorials and guides you’ll find on the Internet assume this. I found very little information about starting a project from existing data and I thought I’d share the solution which I found and consider the simplest.
@Article  @HOWTO  @Example  Ruby  WebApp  Framework  Database 
june 2016 by jslu
VueStrap - Bootstrap components built with Vue.js
Bootstrap components built with Vue.js.
No jQuery, bootstrap.js, or any 3rd party plugins required.
@Project  @Example  UI  JavaScript  CSS  Framework  WebDesign  WebApp  OpenSource  Tutorial 
june 2016 by jslu
[CodeData] Groovy Tutorial(1)認識 Groovy 的第一課 by lyhcode
Groovy 的語法大致上和 Java 語言相似;但是卻比 Java 更容易學習與使用,也比更適合剛入門學習寫程式的初學者。已經熟悉 Java 的開發者,很快就能學會使用 Groovy 寫程式,有許多用 Java 寫起來很複雜的程式,改用 Groovy 就可以用更輕鬆簡單的方法完成,因此吸引不少 Java 開發者加入學習行列。
@Article  @HOWTO  Java  WebApp  Software  Framework  Agility  Language  Tutorial 
may 2016 by jslu
Groovy on Grails
Agile Web Development Framework under JVM. Language and framework design inspired by Ruby on Rails.
@Slide  @HOWTO  Java  WebApp  Software  Framework  Tutorial 
may 2016 by jslu
Rails Assets
Rails Assets is the frictionless proxy between Bundler and Bower.
It automatically converts the packaged components into gems that are easily droppable into your asset pipeline and stay up to date.
@Site  @Project  WebApp  UI  JavaScript  Ruby  Software  Framework  Integration 
may 2016 by jslu
Swagger – The World's Most Popular Framework for APIs.
The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service. Technically speaking - Swagger is a formal specification surrounded by a large ecosystem of tools, which includes everything from front-end user interfaces, low-level code libraries and commercial API management solutions."
@Site  @Project  API  Framework  Software  Engineering  InterpersonalCommunication  EncapsulationAndDecoupling 
april 2016 by jslu
[黃金俠] 利用 Swagger 產生互動式 API 文件
Swagger 是一套由 HTML + Javascript 撰寫的 REST API 文件的框架。 (core 是以 scala 寫的) 從 Demo 頁 可了解到 Swagger 不僅僅提供 API 的規格資訊,也提供互動介面讓開發者可以直接輸入參數進行測試。 ... 透過 Swagger 介面的 API 實測功能,使用者很快就可以了解每條 API 的取用方式與資料格式,大大減少了溝通的成本。"
@Article  @Concept  @HOWTO  @Example  API  InterpersonalCommunication  EncapsulationAndDecoupling  Software  Integration  Plug-in  Ruby  Framework 
april 2016 by jslu
[Tuts+] Mass Assignment, Rails, and You
does mass assignment security belong in the model layer? Some applications have complex authorization requirements. Trying to handle all special cases in the model layer can begin to feel clunky and over-complicated, especially if you find yourself plastering roles all over the place. A key insight here is that mass assignment security is really about handling untrusted input. As a Rails application receives user input in the controller layer, developers began wondering whether it might be better to deal with the issue there instead of ActiveRecord models."
@Article  @Concept  @Comparison  @HOWTO  @Example  WebApp  Security  Ruby  Software  Framework  Tip 
march 2016 by jslu
[sensible.io] Supercharge your VIM into IDE with CTags
CTags generates index file of all your classes, methods and all other identifiers. You can use that index in your editor to jump straight to the methods you're interested in. In this article, I'll show you how to use them with Vim and Rails."
@Article  @HOWTO  Ruby  WebApp  Framework  Productivity  Editor  Tutorial  Tip 
march 2016 by jslu
[知乎专栏] React vs Angular 2: 冰与火之歌 - 前端外刊评论
Angular 以 HTML 为中心的设计留下了巨大的缺陷。正如我在「JSX:硬币的另一面」中所说的,JavaScript 远比 HTML 要强大。因此,增强 JavaScript 让其支持标签要比增强 HTML 让其支持逻辑要合理得多。无论如何,HTML 与 JavaScript 都需要某种方式以粘合在一起。 ... Angular 致力的 HTML 中心设计比 React 的 JavaScript 中心模型要复杂太多。在 React 中,你并不需要学习 ng-什么什么 这种框架特有的 HTML 补丁(shim),你只要写 JavaScript 就好了。这才是我相信的未来。"
@Article  @Concept  @Comparison  JavaScript  WebApp  Software  Language  Programming  Framework  Logic  UI  Integration 
february 2016 by jslu
Ruby on Rails: Doctrine
Convention over Configuration: One of the early productivity mottos of Rails went: “You’re not a beautiful and unique snowflake”. It postulated that by giving up vain individuality, you can leapfrog the toils of mundane decisions, and make faster progress in areas that really matter. Who cares what format your database primary keys are described by? Does it really matter whether its “id”, “postId”, “posts_id”, or “pid”? Is this a decision that’s worthy of recurrent deliberation? No. Part of the Rails’ mission is to swing its machete at the thick, and ever growing, jungle of recurring decisions that face developers creating information systems for the web. There are thousands of such decisions that just need to be made once, and if someone else can do it for you, all the better."
@Article  @Concept  @HOWTO  @Example  Productivity  Decision-making  HabitRoutineAndPattern  Ruby  Software  Framework  Tip 
january 2016 by jslu
[AppleBOY] 如何選擇 Web Framework
現在各大語言都有很多 web framework 可以選擇,上週整理自己對於 Web Framework 的一些原因及考量,總共整理 12 點,給大家參考看看"
@Article  @Slide  WebApp  Software  Framework  Decision-making  Scenario  SystemArchitecture  Learning  Database  TDD  Teamwork  Cache  Security  SocialMedia  SourceCodeManagement  OpenSource  Tip 
january 2016 by jslu
[Matthew Kirk] Why did I write a Machine Learning Book in Ruby?
This is the network effect. Basically the tool is useless unless people use it. But the network effect doesn’t apply to coding. Sure there is some benefit to being able to google the solution to a particular nltk error code you are getting. But Ruby has similar tools as well. The main difference is that you don’t get everything in one easy-install command. For instance Ruby has libsvm, ruby-fann (neural networks), tlearn (neural networks), ai4r, algorithms (k-d tree to do KNN), bayes_motel, NArray, NMatrix (new but promising), and others. If you really want more you can use JRuby to get into the massive amount of Java code that sits out there."
@Article  @Concept  @Reference  Ruby  BigData  AI  Learning  Math  Software  Programming  Language  Framework  Problem-solving 
january 2016 by jslu
[TechOrange] 從外太空懂到內子宮! 37 個免費線上課程網站打破一成不變的生活
你覺得生活一層不變嗎?是否曾經想著學習新知識,卻又因高額學費怯步,或 又以沒有時間為理由。最糟糕的情況是,繳了大筆學費又嘆無聊浪費時間。 來來來,現在就告訴你 37 個「上知天文、下知地理的實用網站,從自然科學、藝術等專業課程,到超級實用的科技網站和 apps 教學,從「鷹嘴豆泥醬實做」到「在 node.js 建構你的 apps」都傾囊相授,只要躺在沙發或划划手機就能享受互動教學,重點是免費、免費、免費。"
@Reference  @CourseOutline  Software  Programming  WebDesign  Mobile  BigData  Framework  Math  Language  SocialMedia  Music  FreeOfCharge 
december 2015 by jslu
[JavaWorld] What's the Go language really good for?
what kinds of projects are Go best for building, and how is that likely to change as the language evolves through new versions and grows in popularity? Here are the types of applications where Go really shines, where it works well, and where it'll need to up its game."
@Article  @Comparison  Software  Programming  Language  Unix  DataSync  API  Framework  CrossPlatform 
december 2015 by jslu
[WPMU DEV] Create a Full Width Page for WordPress in a Few Simple Steps
What if you find a theme that’s almost perfect but doesn’t have the kind of full width page template you need for your landing or about page – or maybe doesn’t have one at all? Not to worry, you can easily edit any theme to create a new template that’s perfect for your needs. It just takes a few simple edits and you’re ready to go. In today’s post I’ll walk you through how to keep your new template mobile-friendly with columns, CSS3 and the Twitter Bootstrap framework if you have a responsive theme. Even if you don’t, I’ve got you covered."
@Article  @HOWTO  @Example  CMS  Software  Framework  CSS  Layout  WebDesign  HabitRoutineAndPattern  Tailor-made  Tutorial  Tip 
september 2015 by jslu
Peep Laja's Conversion Coaching Program
BECOME A CONVERSION OPTIMIZATION PRO WITH COACHING BY PEEP LAJA - The in-depth coaching program designed to take you from conversion rookie to pro in 8 weeks"
@Site  @CourseOutline  @HOWTO  Marketing  AttentionManagement  WebAnalytics  Feedback-receiving  Business  Interdisciplinarity  SEO  Research  CycleAndRhythmOfLife  ExperientialLearning  UX  WebDesign  Framework 
september 2015 by jslu
[Wikipedia] Competence (human resources)
Competence is the ability of an individual to do a job properly. A competency is a set of defined behaviors that provide a structured guide enabling the identification, evaluation and development of the behaviors in individual employees. ... Competency is sometimes thought of as being shown in action in a situation and context that might be different the next time a person has to act. In emergencies, competent people may react to a situation following behaviors they have previously found to succeed. To be competent a person would need to be able to interpret the situation in the context and to have a repertoire of possible actions to take and have trained in the possible actions in the repertoire, if this is relevant. Regardless of training, competency would grow through experience and the extent of an individual to learn and adapt. ... By having competencies defined in the organization, it allows employees to know what they need to be productive."
@Wikipedia  Career  PersonalGrowth  HR  CorporateGovernance  Teamwork  Decision-making  ExperientialLearning  Productivity  Goal-setting  Learning  Competition  UniquenessAndDiversity  AttentionManagement  Leadership  Framework  Planning 
august 2015 by jslu
Relay for Visually Minded People
Relay is a new framework from Facebook that promises to simplify a problem complex enough that the simplification is rather complex in itself. I tend to learn things better when I can see how things fit together, so I made this interactive diagram that attempts to explain how Relay’s various parts fit together."
@Project  @Concept  WebApp  Framework  SystemArchitecture  Software  JavaScript  EncapsulationAndDecoupling  DataSync 
august 2015 by jslu
前端网址导航 - WHYCSS
欢迎来到前端网址导航whycss,本站聚合了前端常用的一些网址,希望能给各位带来一点点的便利。更多精彩内容,期待您来一起添加!"
@Reference  @Site  CSS  WebDesign  UI  Tutorial  JavaScript  Mobile  Design  Framework  Editor 
august 2015 by jslu
[TW洞见] 大数据全栈式开发语言 – Python
我发现Python可以称为大数据全栈式开发语言。因为Python在云基础设施,DevOps,大数据处理等领域都是炙手可热的语言。 ... 就像只要会JavaScript就可以写出完整的Web应用,只要会Python,就可以实现一个完整的大数据处理平台。"
@Article  BigData  Software  Programming  Language  WebApp  JavaScript  Ruby  DevOps  CloudComputing  Java  Agility  Framework  DataSync  AI  Prototyping  Unix  Windows 
august 2015 by jslu
[Manic's Talk] [澳洲修業] Rails Developer 找工作面試心得:Sydney (雪梨)
我認為澳洲是個很適合 Rails Developer 想出國工作的選擇,這裡時區與台灣差不多,各國民族都有,華人也很多。而氣候適宜,環境優美,工作條件也很好。在有 Working Holiday 簽證的幫助下,找工作也很順利。過程中得到許多朋友們的協助,非常感激,也希望這篇文章能夠幫助想出國的 Developer 們。有任何問題想問我也可以在 FB 找我或底下留言,有機會的話我會再分享在澳洲工作的心得。"
@Article  @HOWTO  @Example  Software  Programming  Career  HR  Ruby  Framework 
april 2015 by jslu
[思考,奮鬥,救自己] 10分鐘理解 OAuth 和 facebook 登入原理
最近接了一個要求使用facebook做登入的案子,因此花了好些時間研究facebook登入如何實作。決定留下紀錄,供日後步上相同道路的人參考。"
@Article  @Concept  @HOWTO  @Example  @Reference  JavaScript  Software  Security  SocialMedia  Integration  Framework  API  WebApp  Tutorial 
april 2015 by jslu
hello.js - Javascript API for OAuth2 authentication and REST services
A client-side Javascript SDK for authenticating with OAuth2 (and OAuth1 with a oauth proxy) web services and querying their REST API's. HelloJS standardizes paths and responses to common API's like Google Data Services, Facebook Graph and Windows Live Connect. It's modular, so that list is growing. No more spaghetti code!"
@Project  @HOWTO  @Example  JavaScript  Security  Software  Framework  Integration  API  WebApp  SocialMedia 
april 2015 by jslu
[CustomInk Technology Blog] Modular CSS with SUIT CSS
While it might feel strange at first glance, give SUIT a shot (or at least another modular CSS variant like BEM). Writing CSS/Sass in this manner provides a number of great benefits: 1. Consistency and structure, 2. Separation of concerns, 3. Promotes reuse of code by creating the building blocks for the site with components, 4. Semantic syntax, 5. Composable and extendable CSS"
@Article  @Concept  @HOWTO  @Example  @Reference  UI  CSS  Framework  HabitRoutineAndPattern  EncapsulationAndDecoupling  Teamwork  InterpersonalCommunication  Adaptability  MeaningManagement  Productivity  DRY  Tutorial 
april 2015 by jslu
[Carbon Five] Docker, Rails, & Docker Compose together in your development workflow
We liked Docker Compose for its ability to coordinate and spin up your entire application and dependencies with one command. In the past, frameworks like Vagrant were easy ways to generate a standard image for your development team to use and get started on. Docker Compose offers similar benefits of decoupling the app from the host environment, but also provides the container vehicle for the app to run in all environments – that is, the container you develop in will often be the same container that you deploy to production with. ... In this example, we will run two Docker containers – a Rails container and a MySQL container – and rely on Compose to build, link, and run them."
@Article  @HOWTO  DevOps  Agility  Virtualization  Software  Ruby  Framework  Productivity  CloudComputing  Teamwork 
april 2015 by jslu
[Wealthfront Engineering] jQuery.Deferred is the most important client-side tool you have
The 'Deferred' pattern describes an object which acts as a proxy for some unit of computation that may or may not have completed. The pattern can apply to any asynchronous process ... In their simplest form, deferreds allow you to specify what will occur when a computation completes or fails ... Deferreds help abstract away the 'when' of your asynchronous processes. Deferreds can be passed around indefinitely, and callbacks can continue to be added during the entire lifetime of the deferred object. The key to this behavior is callbacks registered with the deferred will run immediately if the deferred is already resolved. You don't need to worry if the asynchronous unit of computation (e.g. an AJAX request) is finished or not. Simply bind a callback to the deferred and it will either run if the deferred is already resolved, or run when the deferred is resolved in the future."
@Article  @Concept  @HOWTO  @Example  JavaScript  DataSync  Software  Programming  Framework  UI  Computation  Tutorial 
april 2015 by jslu
[HTMLGoodies] Using Jasmine 2.0's New done() Function to Test Asynchronous Processes
you need to use the new done() method. It replaces the runs() and waitsFor() methods of earlier jasmine versions to make it more similar to other testing frameworks. In today's article, we're going to learn how to use Jasmine 2.0's done() method to test DOM events without polluting the test subject page with test code."
@Article  @Concept  @HOWTO  JavaScript  Software  TDD  Framework  DataSync  Tutorial  Tip 
april 2015 by jslu
SUIT CSS: style tools for UI components
SUIT CSS is a reliable and testable styling methodology for component-based UI development. A collection of CSS packages and build tools are available as modules. SUIT CSS plays well with React, Ember, Angular, and other component-based approaches to UI development."
@Project  @HOWTO  @Concept  @Example  CSS  UI  WebApp  WebDesign  Framework  HabitRoutineAndPattern  Teamwork  InterpersonalCommunication  EncapsulationAndDecoupling  Tip 
march 2015 by jslu
DOM Enlightenment - Exploring the relationship between JavaScript and the modern HTML DOM
This book is not an exhaustive reference on DOM scripting or JavaScript. It may, however, be the most exhaustive book written about DOM scripting without the use of a library/framework. ... For the purpose of this book (i.e. grokking the concepts), I'm going to sidestep the browser API mess and dying browser discrepancies in an effort to expose the modern DOM. That's right, I'm going to sidestep the ugliness in an effort to focus on the here and now. After all, we have solutions like jQuery to deal with all that browser ugliness, and you should definitely be leveraging something like jQuery when dealing with deprecated browsers."
@eBook  @Concept  @Reference  WebApp  JavaScript  Framework  UI  API  Tutorial 
march 2015 by jslu
[Paiza Engineering Blog] Data binding code in 9 JavaScript frameworks
The JavaScript frameworks comes every now and then. React.js, Ractive.js, Aurelia.js, and forthcoming Angular2 ! Each framework have their own features, but what's the difference of these frameworks ? From where, should I start? I just tried to write sample code in 9 major framework, and share the experience."
@Article  @HOWTO  @Concept  @Example  @Comparison  JavaScript  Software  Programming  Framework  DataSync  Tutorial  Tip 
march 2015 by jslu
JavaScripting.com - The Database of JavaScript Libraries
The definitive source of the best JavaScript libraries, frameworks, and plugins."
@Site  @Directory  @Reference  JavaScript  Software  Framework 
march 2015 by jslu
[Xavier Shay] Counting ActiveRecord associations: count, size or length?
Counting ActiveRecord associations: count, size or length? Short answer: /size/. Here’s why. /length/ will fall through to the underlying array, which will force a load of the association ... The problem is, /count/ will always issue a count to the DB, which is kind of redundant if you’ve already loaded the association. That’s were size comes in."
@Article  @Concept  @Comparison  Ruby  Software  Framework  Database  Productivity  Tip 
february 2015 by jslu
[Usability Counts] The Unicorn Designer Dilemma, and How to Avoid It
It’s all about the “need three, pick two” rule. Interaction design, visual design, and write code. Pick two. ... The most common reason why unicorns are needed is because initial team staffing wasn’t done right. It’s up to you to correct it. ... Every startup that I’ve seen spend a lot of money on visual design early on ended up wasting most of it."
@Article  @HOWTO  ProjectManagement  Teamwork  Interdisciplinarity  Design  Programming  UI  Integration  Entrepreneurship  OutSourcing  Framework  Adaptability  Tip 
january 2015 by jslu
[Medium] React 8.5 小時心得
容易寫出易懂的程式。從一開始就是在寫 component,很容易就能邊寫邊切出適當的 component 結構。"
@Article  @Concept  @Reference  @Comparison  WebApp  JavaScript  Software  Framework  Tutorial 
january 2015 by jslu
[Medium] 一些關於前端Framework的想法(下)
看到Po-Ying寫這一篇,也讓我想起一路學習前端開發的過程中,碰到的Framework,試著把現在的想法寫下來,或許以後回來看會有很精彩的火花也不一定。"
@Article  @Concept  @Comparison  WebApp  JavaScript  Software  Framework  Engineering  DataSync  KnowledgeManagement 
january 2015 by jslu
ECharts
基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据可视化图表。创新的拖拽重计算、数据视图、值域漫游等特性大大增强了用户体验,赋予了用户对数据进行挖掘、整合的能力。"
@Project  @Site  @Example  UI  Presentation  WebDesign  JavaScript  IndicatorIndexAndRatio  Non-verbal  InterpersonalCommunication  Software  Framework 
january 2015 by jslu
[AndyYou] 輕鬆學 Flux
Flux 是一個 Facebook 創造的術語: 用來描述單一方向的資料流搭配特定的事件和註冊監聽的設計模型。並沒有一定是指 Flux 的函式庫,不過您的確需要 Flux Dispatcher 以及事件函式庫。官方文件是用一種概念的方式在介紹因此對於像我這種資質比較差的人的確不是個很好的起點。沒幫我分解片段片段程式碼就吸收得很慢。不過一旦你了解了關於 Flux 的想法您應該就能夠讀懂那些東西。"
@Article  @Concept  @HOWTO  @Example  JavaScript  UI  Software  Framework  DataSync 
december 2014 by jslu
[InfoQ] 颠覆式前端UI开发框架:React
如果你像在90年代那样写过服务器端Render的纯Web页面那么应该知道,服务器端所要做的就是根据数据Render出HTML送到浏览器端。如果这时因为用户的一个点击需要改变某个状态文字,那么也是通过刷新整个页面来完成的。服务器端并不需要知道是哪一小段HTML发生了变化,而只需要根据数据刷新整个页面。换句话说,任何UI的变化都是通过整体刷新来完成的。而React将这种开发模式以高性能的方式带到了前端,每做一点界面的更新,你都可以认为刷新了整个页面。至于如何进行局部更新以保证性能,则是React框架要完成的事情。"
@Article  @Concept  @Comparison  @Example  JavaScript  UI  Software  Framework  WebApp  DataSync  EncapsulationAndDecoupling 
december 2014 by jslu
[Medium] Starting a Ruby on Rails project from existing data
dump the schema (structure) of your database by issuing: 'rake db:schema:dump' This will generate db/schema.rb. Now you need to copy the contents of this file and save it as your first migration. So let’s create an empty migration file. Run: 'rails generate migration create_database_structure' Move the contents of db/schema.rb into the up method of this first migration."
@Article  @HOWTO  Ruby  Software  WebApp  Framework  Database  BackupRestore  Tip 
december 2014 by jslu
GoRails - Ruby on Rails screencasts for Web Developers
Our screencasts are here to fill in the gaps, explain the confusing pieces, and give you an understanding you can't find elsewhere. There is a lot of "magic" that happens in Ruby on Rails and it's hard to wrap your head around so many different gems and concepts. You'll get to see my actual development environment, how I think about and design code, and learn how to become a confident developer."
@Site  @CourseOutline  Ruby  WebApp  Software  Framework  Programming  Engineering  Tip 
october 2014 by jslu
[Founders Grid] How 50 Startups Manage Their Code
We’ve been adopting GitFlow in order to bring some workflow standards to our Configuration Management process. Previously, Configuration Management and releases were not managed properly and caused some problems especially during the period when we needed to do quick releases to capture business opportunities."
@Article  @HOWTO  @Example  Software  SourceCodeManagement  Engineering  Agility  ProjectManagement  Feedback-receiving  Teamwork  InterpersonalCommunication  FreeOfCharge  OpenSource  Framework  CloudComputing  Tip 
october 2014 by jslu
[Coding Ricky] QR Codes in Rails
The rest of this article is devoted to showing the steps necessary to generate QR codes in a Rails 4 application."
@Article  @HOWTO  @Example  Software  Productivity  Ruby  Framework  Plug-in 
october 2014 by jslu
[慕凡] PostgreSQL Materialized View簡介
最近在開發某個主力產品時遇到了一個問題,就是當我們在後台編輯一些資料,包含新增 / 修改 / 刪除 ,然後在沒有完成所有編輯前不想讓修改中的資料立刻在前台生效,正在苦思如何完成這項功能時,發現了PostgreSQL有一個超好用的功能叫「Materialized View」,於是就開始survey看看。"
@Article  @Concept  @Example  Database  Software  Ruby  Framework  Tutorial 
july 2014 by jslu
[TechOrange] 資料科學家與凡人的溝通利器:30 個把資料視覺化的簡單工具
將這一筆筆冷僻又繁雜的數字與名目資料轉化為有價值、為企業帶來效益的策略擬定參考,需要倚賴資料科學家的腦袋與適當的統計軟體,再把結果圖表化,讓一般企業、大眾都看的懂,也就是「看圖說故事」與「數字會說話」兩者的結合。但有哪些簡單又實用性高、不需要專業的編碼知識、也不需要特別的訓練就可以用的軟體呢?以下介紹 30 個著名的資料圖表化軟體給大家參考,想要讓顧客聽懂你在說什麼、說服你的客戶就靠它們了!"
@Article  @Reference  Presentation  Self-expression  BigData  MeaningManagement  InterpersonalCommunication  Software  JavaScript  Framework 
june 2014 by jslu
[mention] The 5 Best Front-End Developer Tools
At mention, we love the tools which help us to provide the best quality software while at the same time making our life easier. In this blogpost, we’ll present the 5 best tools and frameworks that we use every day to address these challenges."
@Article  @Reference  WebApp  Programming  JavaScript  Software  Productivity  Debugging  Plug-in  UI  Design  TDD  Framework  Tip 
june 2014 by jslu
Brix.io - Premium Interface Builder for Web & Mobile Apps.
Probably the best Interface Builder for Bootstrap! Create sexy interfaces 10x faster."
@Site  @Project  UI  WebDesign  Framework  JavaScript  CSS  FreeOfCharge 
may 2014 by jslu
[Quora] Web Development: What are 5 essential skills any Web Developer should have?
most of us should already know most of what is on this list. But there just might be one or two items you haven't really looked into before, don't fully understand, or maybe never even heard of."
@Article  @Reference  WebDesign  WebApp  UX  UI  Security  Database  Cache  CSS  JavaScript  SEO  CloudComputing  Google  Software  Framework  API  ProjectManagement  Teamwork  Interdisciplinarity 
may 2014 by jslu
[Signal v. Noise] How Basecamp Next got to be so damn fast without using much client-side UI - by David of Basecamp
Now for the secret sauce. Basecamp is so blazingly fast for two reasons: #1: Stacker – an advanced pushState-based engine for sheets ... #2: Caching TO THE MAX"
@Article  @Concept  @HOWTO  @Example  WebDesign  WebApp  Cache  Software  Ruby  Framework  JavaScript  UI  CSS  Tip 
may 2014 by jslu
Scuttle - A SQL and Arel Editor
I'll be giving a talk at RailsConf this year about constructing advanced queries with Arel. This project is a direct result of working on the talk. Plus it's fun :)"
@Site  @Project  @Comparison  Software  Database  Framework  Ruby  Language 
may 2014 by jslu
« earlier      
per page:    204080120160

related tags

3D  @Article  @Blog  @Company  @Comparison  @Concept  @CourseOutline  @Directory  @Download  @eBook  @Example  @Graph  @HOWTO  @Project  @Reference  @Research  @Service  @Site  @Slide  @Story  @Video  @Wikipedia  Adaptability  Agility  AI  Anecdote  Animation  API  AssetAllocation  AttentionManagement  BackupRestore  BigData  Brainstorming  Business  BusinessModel  Cache  Career  Celebrity  China  CloudComputing  CMS  CognitiveScience  Color  Competition  Computation  Concurrency  CorporateGovernance  Creativity  CrossPlatform  CSS  CycleAndRhythmOfLife  Database  DataSearch  DataSync  Debugging  Decision-making  Design  DevOps  DistributionChannel  Drupal  DRY  E-Commerce  Editor  Education  Email  EncapsulationAndDecoupling  Engineering  Entrepreneurship  ExperientialLearning  Fault-tolerance  Feedback-receiving  FileManagement  Finance  Font  Framework  FreeOfCharge  Functional  FutureTrend  Goal-setting  Google  HabitRoutineAndPattern  Hardware  History  HolismAndOneness  HR  HumanNature  IndicatorIndexAndRatio  Integration  Interdisciplinarity  InterpersonalCommunication  Investment  IoT  Java  JavaScript  Joomla  KnowledgeManagement  Language  LatentDesire  Law  Layout  Leadership  Learning  Logic  LongTermBenefit  Mac  MachineLearning  Marketing  MatchMaking  Math  MeaningManagement  Memory  Mobile  MSOffice  MultiLayeredStructure  Multimedia  Music  Non-verbal  OOAD  OpenSource  OutSourcing  PEnVC  PersonalGrowth  Photography  Planning  Plug-in  Presentation  Problem-solving  Productivity  Programming  ProgressiveImprovement  ProjectManagement  Prototyping  Proxy  QAnQC  Reading  Renting  Research  Ruby  Sandbox  Scalability  Scenario  Security  Self-discipline  Self-expression  SensoryStimulus  SEO  ServiceIndustry  Sharing  Simplicity  SMEs  SocialMedia  Software  SourceCodeManagement  Stock  Storage  SupplyChain  SysAdmin  SystemArchitecture  Tagging  Tailor-made  TargetAudience  TDD  Teaching  Teamwork  TimeManagement  Tip  Tutorial  Typography  UI  UnexpectednessUncertaintyAndImpermanence  UniquenessAndDiversity  Unix  UX  ValuationAndValueAdding  Video  Virtualization  WebAnalytics  WebApp  WebDesign  WebHosting  WebService  Windows 

Copy this bookmark:



description:


tags: