Thursday, December 25, 2014

[repost ]AngularJS vs. EmberJS vs. Backbone.js

original:http://ift.tt/1HGLmAO ▼ Actions ×⇄ ×⇄ × AngularJS EmberJS Backbone.js Category JavaScript Framework Web application framework Web application framework JavaScript Framework Web application framework Preference 56% votes 22% votes 22% votes Website angularjs.​org emberjs.​com backbonejs.​org License MIT License MIT License MIT License Features Scaffolding No Yes ? Full text search Yes ? ? Architecture Development principles […]



via WordPress http://ift.tt/1CGZU5b

Labels:

[question ]With frameworks like AngularJS, KnockoutJS and EmberJS growing in usage day by day, are single-page applications (SPAs) really the future of web apps? Does it make sense building a fairly big website/web portal as an SPA?

original:http://ift.tt/1GZX4YM answer: Akash Kava, Author of http://ift.tt/1GZX4YO 1 upvote by Nadiger Chaitanya. Yes, SPA is future and it is going to remain. SPA came into existence to create interactive web applications. Earlier web was designed to read information (news, articles). It was not designed to replace computer applications (email, spreadsheet, word processor etc). Writing native […]



via WordPress http://ift.tt/1xkEhpR

Labels:

[resource ]51cto javascript channel

original:http://ift.tt/1xgl061 Unicode与JavaScript详解 发布时间:2014-12-12 10:13:12等你来评论浏览数:3390 Unicode 源于一个很简单的想法:将全世界所有的字符包含在一个集合里,计算机只要支持这一个字符集,就能显示所有的字符,再也不会有乱码了。 [全文阅读] 标签 JavaScript 分享到: 7个提高效率的JavaScript调试工具 发布时间:2014-12-12 09:52:04等你来评论浏览数:2049 现在的JavaScript事实上已然成为了流行的web语言,即使它并不完美。很多程序员不喜欢用JavaScript写代码,是因为写到后来总会出现各种莫名其妙的bug,而且在开发大型应用程序的过程中很容易犯错。而且鉴于当今此类工[全文阅读] 标签 JavaScript 分享到: 2014年12月最棒的15 个JavaScript 库 发布时间:2014-12-09 14:00:58等你来评论浏览数:6093 这种库提供的灵活性用起来杠杠的。不过,它们其中的一些有时却受到文件大小的阻碍。还有,尽管我们在函数设计上可以采取一些知名的JavaScript库,但是如果你首先想到使用一个更加轻量级的,更加专注的库来执行一个具[全文阅读] 标签 JavaScript 分享到: 纯JavaScript图表组件dhtmlxChart 发布时间:2014-12-08 10:56:24等你来评论浏览数:9666 dhtmlxChart也是一款基于JavaScript的图表应用组件,和之前分享的xCharts类似,dhtmlxChart也提供了非常丰富的图表类型,应该说和xCharts相比,它提供的图表类型更多,包括饼图、雷达图、离散点图和更复杂的图表类型[全文阅读] 标签 JavaScript 分享到: 极客游戏——坦克大战AI编写 发布时间:2014-12-05 10:25:18等你来评论浏览数:36333 传统的游戏,都是人们来操作游戏元素,而这个游戏不同,你要写一套算法,用这套算法去控制你的坦克,游戏开始之后,你能做的就只是看着两台坦克对战,他们的灵活性,战斗力以至于『智能』都取决于你的算法。 [全文阅读] 标签 JavaScript 分享到: Web开发从学些JavaScript开始 发布时间:2014-12-03 13:26:24等你来评论浏览数:31698 有一天我被问到,为了快速地在web开发工作上增加优势,应该学习什么语言。我的思绪回到了大学,那时候我用Pascal、Fortran、C和汇编语言,不过那个时候有不同的目标。 [全文阅读] 标签 JavaScript 分享到: Node.js深受欢迎的六大原因 发布时间:2014-12-02 09:57:41等你来评论浏览数:5019 Node.js 是一种后起的优秀服务器编程语言,它用来构建和运行 Web […]



via WordPress http://ift.tt/1rkgofE

Labels:

[repost ]11款最好的JavaScript源代码编辑器

original:http://ift.tt/1zkeg5e 代码编辑器是一个允许你编辑任何编程语言的源代码的文本编辑器。 它可以是一个独立的应用程序,也可以是内置的一个集成开发环境(IDE)。 有一些源代码编辑器能够在程序员编写程序的时候做语法检查,并在第一时间对其产生的语法问题提出警告; 有一些源代码编辑器可以压缩代码, 将常见的关键词转化为单字节标记,删除不必要的空格,并将数字转换成二进制形式, 当要查看文件时,它会再产生出与以前一致大小和间隔的文件;还有一些源代码编辑器会上述两种功能。 —— 维基百科对源代码编辑器的定义 如果你正在寻找优秀的JavaScript源代码编辑器,那么这11款“网络上评出的最好的JavaScript源代码编辑器”可能会帮到你。 1.CodeMirror – 基于内嵌框架( iframe )的可编辑代码编辑器 CodeMirror是一个基于iframe的可编辑源代码编辑器组件 ,它允许你创建类似相对舒适的源代码编辑器接口(代码内容包括HTML、XHTML、XML、CSS、Python、PHP、c#、Java标记以及其它类似的语言)。 Codemirror的特性 : 自动完成 模式覆盖 搜索/替换 预览HTML编辑器 自动调整编辑器大小 设置断点 语法高亮显示 主题化 强调独立 支持全屏幕编辑 模式自动改变 2.Ace – JavaScript编辑器 Ace是一个独立的JavaScript代码编辑器,拥有基于浏览器的代码编辑器相匹配的特性和扩展特性,还拥有目前常见的本地编辑器(如TextMate,Vim或Eclipse)的功能。 用户可以很容易把Ace编辑器嵌入进任何网页或JavaScript应用程序。 Ace JavaScript编辑器的特性: 语法高亮显示 自动缩进和凸排 可选命令行 大文档处理 包含VI和Emacs模式的完全自定义关键字绑定 主题化 3.CodePress -基于JavaScript的实时语法高亮显示的编辑器 CodePress是基于JavaScript的在线源代码编辑器,它突出的语法高亮特性:只要在浏览器中输入代码,便能够立刻产生彩色语法文本。 CodePress的特性: 实时语法高亮显示 代码片段 自动完成 快捷键 可以对相同的页面添加多个CodePress窗口 4. EditArea -免费的JavaScript源代码编辑器 […]



via WordPress http://ift.tt/1zkeg5g

Labels:

[repost ]Learn to build an application using Angular.js

original:http://ift.tt/RSViEo Learn to build an application using Angular.js START COURSE SPONSORED BY PRODUCED BY WHAT YOU’LL LEARN IN THIS COURSE Level 1Flatlander’s Gem Store Level 2Built-in Directives Level 3Forms Level 4Custom Directives Level 5Services COURSE BREAKDOWN 12VIDEOS 27CHALLENGES 6BADGES BADGES YOU’LL EARN



via WordPress http://ift.tt/1zk9vIZ

Labels:

[repost ]EMBER.JS GUIDES

original:http://ift.tt/104UMF5 GETTING STARTED GETTING EMBER CONCEPTS THE OBJECT MODEL APPLICATION TEMPLATES ROUTING COMPONENTS CONTROLLERS MODELS VIEWS ENUMERABLES TESTING CONFIGURING EMBER.JS COOKBOOK DEPRECATIONS UNDERSTANDING EMBER.JS CONTRIBUTING TO EMBER.JS ⬆ Back to Top EMBER.JS GUIDESEDIT PAGE Welcome to the Ember.js guides! This documentation will take you from total beginner to Ember expert. It is designed to start […]



via WordPress http://ift.tt/1xkthZK

Labels:

Sunday, December 14, 2014

[repost ]Maven实战(九)——打包的技巧

original:http://ift.tt/1uEq6EA “打包“这个词听起来比较土,比较正式的说法应该是”构建项目软件包“,具体说就是将项目中的各种文件,比如源代码、编译生成的字节码、配置文件、文档,按照规范的格式生成归档,最常见的当然就是JAR包和WAR包了,复杂点的例子是Maven官方下载页面的分发包,它有自定义的格式,方便用户直接解压后就在命令行使用。作为一款”打包工具“,Maven自然有义务帮助用户创建各种各样的包,规范的JAR包和WAR包自然不再话下,略微复杂的自定义打包格式也必须支持,本文就介绍一些常用的打包案例以及相关的实现方式,除了前面提到的一些包以外,你还能看到如何生成源码包、Javadoc包、以及从命令行可直接运行的CLI包。 Packaging的含义 任何一个Maven项目都需要定义POM元素packaging(如果不写则默认值为jar)。顾名思义,该元素决定了项目的打包方式。实际的情形中,如果你不声明该元素,Maven会帮你生成一个JAR包;如果你定义该元素的值为war,那你会得到一个WAR包;如果定义其值为POM(比如是一个父模块),那什么包都不会生成。除此之外,Maven默认还支持一些其他的流行打包格式,例如ejb3和ear。你不需要了解具体的打包细节,你所需要做的就是告诉Maven,”我是个什么类型的项目“,这就是约定优于配置的力量。 为了更好的理解Maven的默认打包方式,我们不妨来看看简单的声明背后发生了什么,对一个jar项目执行mvn package操作,会看到如下的输出: [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ git-demo --- [INFO] Building jar: /home/juven/git_juven/git-demo/target/git-demo-1.2-SNAPSHOT.jar 相比之下,对一个war项目执行mvn package操作,输出是这样的: [INFO] --- maven-war-plugin:2.1:war (default-war) @ webapp-demo --- [INFO] Packaging webapp [INFO] Assembling webapp [webapp-demo] in [/home/juven/git_juven/webapp-demo/target/webapp-demo-1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/home/juven/git_juven/webapp-demo/src/main/webapp] [INFO] Webapp assembled in [90 msecs] [INFO] Building war: /home/juven/git_juven/webapp-demo/target/webapp-demo-1.0-SNAPSHOT.war 对应于同样的package生命周期阶段,Maven为jar项目调用了maven-jar-plugin,为war项目调用了maven-war-plugin,换言之,packaging直接影响Maven的构建生命周期。了解这一点非常重要,特别是当你需要自定义打包行为的时候,你就必须知道去配置哪个插件。一个常见的例子就是在打包war项目的时候排除某些web资源文件,这时就应该配置maven-war-plugin如下: […]



via WordPress http://ift.tt/1BLmXeC

Labels:

[repost ]Bluemix Launches IBM Containers Beta Based on Docker

original:http://ift.tt/1An35v1 At DockerCon Europe today we announced the availability of the beta of our new IBM container service on Bluemix. As a developer you can now leverage the power of Docker to deploy a container on Bluemix. The IBM Containers service is super easy to use. No need to deploy and manage Virtual Machines, set […]



via WordPress http://ift.tt/1BLeVCC

Labels:

[repost ]Getting started with Liberty profile

original:http://ift.tt/1BCwAtc Introducing the Liberty Profile Developing applications with WDT and Liberty profile Developing applications with IntelliJ IDEA and Liberty profile The Liberty Profile in 1 minute Liberty Archive Install and Installation Manager Getting Started with the WAS Liberty Profile Liberty Profile: Zero to Hero in three and a half minutes! Installation Manager repository for Liberty […]



via WordPress http://ift.tt/1BLeUyu

Labels:

[repost ]Installing Couchdb on RHEL 5

original:http://ift.tt/1tOPyeW These instructions also work on Red Hat Enterprise Linux compatible distributions like CentOS. Note: COUCHDB-315 has an attached patch for the CouchDB README which adds instructions for RHEL 5. Installing a prepackaged CouchDB 1. Enable the EPEL repository. 2. Install the couchdb package from EPEL: # yum install couchdb 3. Edit config file to […]



via WordPress http://ift.tt/1zagDes

Labels:

[repost ]How To Install CouchDB from Source on a CentOS 6 x64 VPS

original:http://ift.tt/1uEaO2F Introduction CouchDB is a NoSQL database developed by The Apache Software Foundation that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API. Often called “a database that completely embraces the web,” it’s used by many startups as well as corporations due to its flexibility and scalability. As of this […]



via WordPress http://ift.tt/1uEaNvC

Labels:

[repost ]Couchdb Installation on Unix-like systems

original:http://ift.tt/1yNzrfP 2.1. Installation on Unix-like systems A high-level guide to Unix-like systems, inc. Mac OS X and Ubuntu. This document is the canonical source of installation information. However, many systems have gotchas that you need to be aware of. In addition, dependencies frequently change as distributions update their archives. If you’re running into trouble, be […]



via WordPress http://ift.tt/16lEddw

Labels:

[repost ]25 Most Frequently Used Linux IPTables Rules Examples

original:http://ift.tt/VF9cWH At a first glance, IPTables rules might look cryptic. In this article, I’ve given 25 practical IPTables rules that you can copy/paste and use it for your needs. These examples will act as a basic templates for you to tweak these rules to suite your specific requirement. For easy reference, all these 25 iptables […]



via WordPress http://ift.tt/1GCd419

Labels:

[repost ]8 Essential Vim Editor Navigation Fundamentals

original:http://ift.tt/1r5miAv This article is part of the ongoing Vi / Vim Tips and Tricks series. Navigation is a vital part of text editing. To be very productive, you should be aware of all possible navigation shortcuts in your editor. In this article, let us review the following 8 Vi / Vim navigation options. Line navigation […]



via WordPress http://ift.tt/1GCd29p

Labels:

[repost ]Unix Sed Tutorial: Advanced Sed Substitution Examples

original:http://ift.tt/1iyrqam This article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned —sed printing, sed deletion, sed substitute ,sed file write, and sed multiple commands. In this article, let us review some interesting workarounds with the “s” substitute command in sed with several practical examples. I. […]



via WordPress http://ift.tt/1wqwYut

Labels:

[repost ]Awk Introduction Tutorial – 7 Awk Print Examples

original:http://ift.tt/1cqY5eE This is the first article on the new awk tutorial series. We’ll be posting several articles on awk in the upcoming weeks that will cover all features of awk with practical examples. In this article, let us review the fundamental awk working methodology along with 7 practical awk print examples. Note: Make sure you […]



via WordPress http://ift.tt/12MrVZB

Labels:

[repost ]Mommy, I found it! — 15 Practical Linux Find Command Examples

original:http://ift.tt/1k6HJxb Apart from the basic operation of looking for files under a directory structure, you can also perform several practical operations using find command that will make your command line journey easy. In this article, let us review 15 practical examples of Linux find command that will be very useful to both newbies and experts. […]



via WordPress http://ift.tt/1BK36N0

Labels:

Saturday, December 13, 2014

[repost ]50 UNIX / Linux Sysadmin Tutorials

original:http://ift.tt/ksvTxZ To wrap this year, I’ve collected 50 UNIX / Linux sysadmin related tutorials that we’ve posted so far. This is lot of reading. Bookmark this article for your future reference and read it whenever you get free time. Disk to disk backup using dd command: dd is a powerful UNIX utility, which is used […]



via WordPress http://ift.tt/1BJogLj

Labels:

[repost ]50 Most Frequently Used UNIX / Linux Commands (With Examples)

original:http://ift.tt/OugUCj This article provides practical examples for 50 most frequently used commands in Linux / UNIX. This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future reference. Did I miss any frequently used Linux commands? Leave […]



via WordPress http://ift.tt/1qLtnGQ

Labels:

[repost ]Top 25 Best Linux Performance Monitoring and Debugging Tools

original:http://ift.tt/Ra5rLB I’ve compiled 25 performance monitoring and debugging tools that will be helpful when you are working on Linux environment. This list is not comprehensive or authoritative by any means. However this list has enough tools for you to play around and pick the one that is suitable your specific debugging and monitoring scenario. 1. […]



via WordPress http://ift.tt/1xfUsEs

Labels:

[repost ]How to Enable EPEL Repository on CentOS for Yum Package Management

original:http://ift.tt/1BzDaRl Question: How do I enable EPEL repository on CentOS so that I can install additional packages directly using yum command? Answer: EPEL stands for Extra Packages for Enterprise Linux. EPEL is maintained as part of the Fedora project that maintains several packages that are not part of the standard Red Hat Enterprise Linux (or […]



via WordPress http://ift.tt/1xfUr3c

Labels:

[repost ] Install EPEL and additional repositories on CentOS and Red Hat

original:http://ift.tt/1sfqNHu This article describes how to configure a CentOS or Red Hat Enterprise Linux system to use the Fedora Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository provides useful software packages that are not included in the official CentOS or Red Hat Enterprise Linux repositories. Instructions are also included for installing other third-party […]



via WordPress http://ift.tt/1woZPPV

Labels:

Sunday, December 07, 2014

[repost ]基于Flume的美团日志收集系统(二)改进和优化

original:http://ift.tt/1vDpOnX 在《基于Flume的美团日志收集系统(一)架构和设计》中,我们详述了基于Flume的美团日志收集系统的架构设计,以及为什么做这样的设计。在本节中,我们将会讲述在实际部署和使用过程中遇到的问题,对Flume的功能改进和对系统做的优化。 1 Flume的问题总结 在Flume的使用过程中,遇到的主要问题如下: a. Channel“水土不服”:使用固定大小的MemoryChannel在日志高峰时常报队列大小不够的异常;使用FileChannel又导致IO繁忙的问题; b. HdfsSink的性能问题:使用HdfsSink向Hdfs写日志,在高峰时间速度较慢; c. 系统的管理问题:配置升级,模块重启等; 2 Flume的功能改进和优化点 从上面的问题中可以看到,有一些需求是原生Flume无法满足的,因此,基于开源的Flume我们增加了许多功能,修改了一些Bug,并且进行一些调优。下面将对一些主要的方面做一些说明。 2.1 增加Zabbix monitor服务 一方面,Flume本身提供了http, ganglia的监控服务,而我们目前主要使用zabbix做监控。因此,我们为Flume添加了zabbix监控模块,和sa的监控服务无缝融合。 另一方面,净化Flume的metrics。只将我们需要的metrics发送给zabbix,避免 zabbix server造成压力。目前我们最为关心的是Flume能否及时把应用端发送过来的日志写到Hdfs上, 对应关注的metrics为: Source : 接收的event数和处理的event数 Channel : Channel中拥堵的event数 Sink : 已经处理的event数 2.2 为HdfsSink增加自动创建index功能 首先,我们的HdfsSink写到hadoop的文件采用lzo压缩存储。 HdfsSink可以读取hadoop配置文件中提供的编码类列表,然后通过配置的方式获取使用何种压缩编码,我们目前使用lzo压缩数据。采用lzo压缩而非bz2压缩,是基于以下测试数据: event大小(Byte) sink.batch-size hdfs.batchSize 压缩格式 总数据大小(G) 耗时(s) 平均events/s 压缩后大小(G) 544 300 10000 bz2 9.1 2448 6833 1.36 544 300 10000 […]



via WordPress http://ift.tt/1yFSRqB

Labels:

[repost ]基于Flume的美团日志收集系统(一)架构和设计

original:http://ift.tt/KLAw6a 美团的日志收集系统负责美团的所有业务日志的收集,并分别给Hadoop平台提供离线数据和Storm平台提供实时数据流。美团的日志收集系统基于Flume设计和搭建而成。 《基于Flume的美团日志收集系统》将分两部分给读者呈现美团日志收集系统的架构设计和实战经验。 第一部分架构和设计,将主要着眼于日志收集系统整体的架构设计,以及为什么要做这样的设计。 第二部分改进和优化,将主要着眼于实际部署和使用过程中遇到的问题,对Flume做的功能修改和优化等。 1 日志收集系统简介 日志收集是大数据的基石。 许多公司的业务平台每天都会产生大量的日志数据。收集业务日志数据,供离线和在线的分析系统使用,正是日志收集系统的要做的事情。高可用性,高可靠性和可扩展性是日志收集系统所具有的基本特征。 目前常用的开源日志收集系统有Flume, Scribe等。Flume是Cloudera提供的一个高可用的,高可靠的,分布式的海量日志采集、聚合和传输的系统,目前已经是Apache的一个子项目。Scribe是Facebook开源的日志收集系统,它为日志的分布式收集,统一处理提供一个可扩展的,高容错的简单方案。 2 常用的开源日志收集系统对比 下面将对常见的开源日志收集系统Flume和Scribe的各方面进行对比。对比中Flume将主要采用Apache下的Flume-NG为参考对象。同时,我们将常用的日志收集系统分为三层(Agent层,Collector层和Store层)来进行对比。 对比项 Flume-NG Scribe 使用语言 Java c/c++ 容错性 Agent和Collector间,Collector和Store间都有容错性,且提供三种级别的可靠性保证; Agent和Collector间, Collector和Store之间有容错性; 负载均衡 Agent和Collector间,Collector和Store间有LoadBalance和Failover两种模式 无 可扩展性 好 好 Agent丰富程度 提供丰富的Agent,包括avro/thrift socket, text, tail等 主要是thrift端口 Store丰富程度 可以直接写hdfs, text, console, tcp;写hdfs时支持对text和sequence的压缩; 提供buffer, network, file(hdfs, text)等 代码结构 系统框架好,模块分明,易于开发 代码简单 3 美团日志收集系统架构 美团的日志收集系统负责美团的所有业务日志的收集,并分别给Hadoop平台提供离线数据和Storm平台提供实时数据流。美团的日志收集系统基于Flume设计和搭建而成。目前每天收集和处理约T级别的日志数据。 下图是美团的日志收集系统的整体框架图。 a. 整个系统分为三层:Agent层,Collector层和Store层。其中Agent层每个机器部署一个进程,负责对单机的日志收集工作;Collector层部署在中心服务器上,负责接收Agent层发送的日志,并且将日志根据路由规则写到相应的Store层中;Store层负责提供永久或者临时的日志存储服务,或者将日志流导向其它服务器。 b. […]



via WordPress http://ift.tt/1u6ZblD

Labels:

Saturday, December 06, 2014

[repost]Titan 0.5 Documentation

original:http://ift.tt/1sQZkMh Table of Contents I. Introduction 1. The Benefits of Titan 2. Architectural Overview 3. Getting Started II. Titan Basics 4. Configuration 5. Schema and Data Modeling 6. Gremlin Query Language 7. Titan Server 8. Indexing for better Performance 9. Transactions 10. Titan Cache 11. Transaction Log 12. Configuration Reference 13. Common Questions 14. Technical […]



via WordPress http://ift.tt/1FYelPE

Labels:

[repost ]Cortana vs Siri vs Google Now: How the Virtual Assistants Compare in Three Videos

original:http://ift.tt/1nx4jvT Cortana is Windows Phone’s answer to Siri and Google Now: A voice-activated artificially intelligent personal assistant with an only slightly off-putting robot voice. Technically, she’s still in beta on Windows 8.1, but PhoneBuff is here to show us 50 things Cortana can already do. Looks like Cortana’s got some seriously handy capabilities—and a pretty […]



via WordPress http://ift.tt/1wagubQ

Labels:

[repost ]Chinese Mobile App UI Trends

original:http://ift.tt/1zIvTwT This summer, I packed up all my things and moved from San Francisco to Guangzhou, China for work. Through an unlikely chain of coincidences that I don’t entirely recall, I’ve become a product manager on WeChat, a popular messaging app in China. Moving to a new country has meant learning how to do lots […]



via WordPress http://ift.tt/1yW6BMH

Labels:

[repost ] OpenSIPS 和Mediaproxy 资源

http://ift.tt/1tWSAKk http://ift.tt/1q6qhgi http://ift.tt/1tWSAKp http://ift.tt/1q6qgc2 http://ift.tt/1y7yO1J http://ift.tt/1q6qhgm http://ift.tt/1tWSC53 http://ift.tt/1q3vWnz http://ift.tt/1tWSB0N http://ift.tt/1q6qhwC http://ift.tt/1ue1zcv



via WordPress http://ift.tt/1z7lxbK

Labels:

Friday, December 05, 2014

[repost ]Couchbase vs. Apache CouchDB:A comparison of two open source NoSQL database technologies

original:http://ift.tt/1wBMbaf How does Couchbase compare to Apache CouchDB? Here’s some high-level background and a chart to help you understand technical similarities and differences. Brief History First, a brief history. Apache CouchDB is the open source document database originally created by Damien Katz. Damien started a company (along with J Chris Anderson and Jan Lehnardt) called […]



via WordPress http://ift.tt/1CNexVL

Labels:

[repost ]How does MongoDB compare to CouchDB? What are the advantages and disadvantages of each?

Answer: Querying One advantage of MongoDB is that simple queries are simple. If you just want documents where a particular field contains “x”, you can execute something like db.users.find({"name" : "Richard Henry"}); . With CouchDB you’ll need to write a Map/Reduce query. MongoDB still supports Map/Reduce for complex queries, but doing simple stuff is very […]



via WordPress http://ift.tt/1tZuSvX

Labels:

[repost ]CouchDB vs. MongoDB Benchmark

original:http://ift.tt/1kU0yka Edit (9/1/10): this benchmark is old, silly, and should probably be ignored in favor of more recent and representative ones. I don’t want to take it down for historical purposes, but seriously people, it was never a good benchmark, it’s over a year old at this point, and both databases have changed a lot. […]



via WordPress http://ift.tt/1tZuRrT

Labels:

[repost ]MongoDB vs CouchDB

original:http://ift.tt/1tRs9po For background: I am working in a project that involves Epigenetic data. Ours focus is to store data from different projects with our own generated data. Storing could be easy, just store the files in a directory. We want more than just “saving the files”: we want store and retrieve this data, and for […]



via WordPress http://ift.tt/1ywyOLb

Labels:

[repost ]When to use CouchDB over MongoDB and vice versa

original:http://ift.tt/14aoBss Question:I am stuck between these two NoSQL databases. In my project i will be creating a database within a database. For example, I need a solution to create dynamic tables. So users can create tables with columns and rows. i think either MongoDB or CouchDB will be good for this but I am not […]



via WordPress http://ift.tt/1tRs70B

Labels:

[repost ]MONGODB VS COUCHDB

original:http://ift.tt/1ywyM5T As part of a project I’m working on, I have a requirement for a NoSQL database. There are numerous offerings out there, of which MongoDB and CouchDB appear to be the most popular. So which system should I choose? First, a little more information about my use case. I am part of a team […]



via WordPress http://ift.tt/1tRs6tL

Labels:

[repost ]周志华:数据挖掘与机器学习

original:http://ift.tt/12HLv9X



via WordPress http://ift.tt/1A0l2i2

Labels:

[repost ]RESTful Web services with Apache Wink, Part 3: Apache Wink and the REST:A comparison of Apache Wink and other open source JAX-RS implementations

original:http://ift.tt/1tYCCP3 This article, the third in a three-part series, explores advanced topics in Apache Wink 1.0 development, the new Java™ framework for implementing and consuming REST-based Web services. This article, the third in a three-part series, compares Apache Wink with various other free and open source JAX-RS implementations like Project Jersey, JBoss RESTEasy, and the […]



via WordPress http://ift.tt/1Athu8Z

Labels:

Tuesday, December 02, 2014

[repost ]Writing Scalable WebSocket Applications on Heroku with Java and the Play Framework

original:http://ift.tt/11OnnRY Table of Contents Prerequisites Principles The sample application Deploying the sample to Heroku This tutorial describes techniques for designing scalability into Java Play Framework applications that make use of WebSockets on Heroku. Sample code for the demo application is available on GitHub. Edits and enhancements are welcome. Just fork the repository, make your changes […]



via WordPress http://ift.tt/1yeDqpa

Labels:

[repost ]唯品会技术架构面临的挑战和应对策略

original:http://ift.tt/1manEbm http://ift.tt/1HUCv1g



via WordPress http://ift.tt/1zdhCbz

Labels: