万本电子书0元读

万本电子书0元读

顶部广告

Mastering Elixir电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:André Albuquerque,Daniel Caixinha

出  版  社:Packt Publishing

出版时间:2018-07-30

字       数:87.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Bring your data to life with Power BI Key Features *Get to grips with the fundamentals of Microsoft Power BI and its Business Intelligence capabilities *Build accurate analytical models, reports and dashboards? *Get faster and more intuitive insights from your data using Microsoft Power BI Book Description Microsoft Power BI is a cloud-based service that helps you easily visualize and share insights using your organization's data.This book will get you started with business intelligence using the Power BI toolset, covering essential concepts such as installation,designing effective data models, as well as building basic dashboards and visualizations to make your data come to life You will learn how to get your data the way you want – connecting to data sources sources and how to clean your data with the Power BI Query Editor. You will next learn how to properly design your data model to make your data easier to work with.. You will next learn how to properly design your data model to navigate table relationships and build DAX formulas to make your data easier to work with. Visualizing your data is another key element of this book, and you will learn how to follow proper data visualization styles and enhanced digital storytelling techniques. By the end of this book, you will understand how to administer your organization's Power BI environment so deployment can be made seamless, data refreshes can run properly, and security can be fully implemented What you will learn *Connect to data sources using both import and DirectQuery options *Use the Query Editor to apply data transformations and data cleansing processes, including learning how to write M and R scripts *Design optimized data models by designing relationships and DAX calculations *Leverage built-in and custom visuals to design effective reports *Use the Power BI Desktop and Power BI Service to implement Row Level Security on your model *Administer a Power BI cloud tenant for your organization *Deploy your Power BI Desktop files into the Power BI Report Server Who this book is for This book is for aspiring Business Intelligence professionals who want to get up and running with Microsoft Power BI. If you have a basic understanding of BI concepts and want to learn how to apply them using Microsoft Power BI, this book is for you.
目录展开

Title Page

Copyright and Credits

Mastering Elixir

Dedication

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the authors

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Conventions used

Get in touch

Reviews

Preparing for the Journey Ahead

Why functional programming?

Elixir and Erlang

Elixir's data types

Integers

Floats

Atoms

Booleans

Tuples

Lists

Maps

Binaries

Strings and charlists

Other types

Keyword lists

Ranges

MapSets

Pattern matching

Pattern matching on tuples

Pattern matching on lists

Pattern matching on maps

Pattern matching on binaries and strings

Functions and Modules

Anonymous functions

Modules and Named Functions

Module attributes, directives, and uses

Working with collections

Looping through recursion

Eager processing with the Enum module

Comprehensions

Lazy processing with the stream module

Control flow

if and unless

cond

case

with

Exceptions

Typespecs and behaviours

Typespecs

Dialyzer

Behaviours

Protocols

Structs

Bringing structs and protocols together

Tooling and ecosystems

IEx

Mix

ExUnit

Erlang interoperability

Summary

Innards of an Elixir Project

Elixir applications

Elixir project structure

Project dependencies

Umbrella projects

ElixirDrip – our showcase application

Using behaviours

Viewing cross references with xref

Adopting a consistent coding style

Summary

Processes – The Bedrock of Concurrency and Fault Tolerance

Inside the BEAM

Working with processes

Creating processes

Message passing between processes

Building a cache worker

Detecting errors by linking and monitoring processes

Using links

Using monitors

Recovering from errors with supervisors and supervision trees

Defining and starting a supervisor

Streamlined child specs

Starting children at runtime using dynamic supervisors

Minimizing error effects with supervision trees

Summary

Powered by Erlang/OTP

GenServer

GenServer at your service

Implementing a CacheWorker with GenServer

Agent

Task

Parallel tasks

Using (D)ETS

Disk-based ETS

Registry

Summary

Demand-Driven Processing

GenStage

The upload pipeline

The notifier stage

The RemoteStorage stage

The Encryption stage

The Starter stage

The download pipeline

The Notifier stage

The Encryption stage

The RemoteStorage stage

The Starter stage

Final remarks

Flow

Sample data

Lazy queries

Disk-usage rank query

Summary

Metaprogramming – Code That Writes Itself

The abstract syntax tree

Tinkering with macros

Hygienic accesses

Famous (un)quotes

Macros – a silver bullet?

Extending modules

Using the use and __using__/1 macros

Creating a domain-specific language

Registering module attributes

Collecting a list of pipeline steps

Generating worker specs and subscription options

Producer stage

ProducerConsumer and Consumer stages

Collecting the pipeline worker specs

Defining the supervisor functions

Streamlining GenStage modules

Simpler pipeline producers

Simpler pipeline (producer) consumers

Macros cheat sheet

Summary

Persisting Data Using Ecto

Connecting to the database

Schemas and migrations

Schemas

Custom field types

Users or media owners?

Schema or not – that is the question

Migrations

Relationships

Changesets

Media

Users

Media ownership

Constraints

Queries

Media folder queries

Loading schemas and their associations

Queries with raw SQL

Finding top users with aggregates

Summary

Phoenix – A Flying Web Framework

The Plug specification

Creating a module plug

Creating a function plug

Routing requests

Handling requests in a controller

Rendering views

Layouts

Authenticating users

Implementing a JSON API

Authenticating users in the API

Interactive applications using channels

Preparing the server

Joining channels on the client

Exchanging events

Authenticating socket connections

Tracking users statuses using Presence

Summary

Finding Zen through Testing

Unit testing

Testing functions without side-effects

Testing functions with side-effects

Creating mocks with Mox

Testing interactions with the repository separately

Testing the documentation

Integration testing

Testing Phoenix Channels

Testing macros

Property-based testing

Summary

Deploying to the Cloud

Releasing with Distillery

Configuring the release

Interpolating environment variables

Creating the release

Creating a custom release task

Containerizing our application

Creating a development container

Orchestrating more than one container

Composing the deployment containers

Deploying to Kubernetes

Configuring the cloud database

Creating a namespace

Creating secrets

Publishing the production image

Deploying your first pod

Creating a Kubernetes job

Exposing your pods to the world

Continuous deployment with Travis CI

Connecting the deployed Elixir nodes

Testing the connected nodes

Summary

Keeping an Eye on Your Processes

Collecting metrics

Exposing Prometheus metrics

Creating custom Prometheus metrics

Local Prometheus server

Deploying Prometheus in Kubernetes

Calculating percentiles

Setting Grafana variables

A window to your nodes

Connecting to a containerized node

Connecting to an Erlang node running in Kubernetes

Using a remote shell

Inspecting application behavior

Profiling with the fprof profiler

Tracing with the :dbg module

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部