没有合适的资源?快使用搜索试试~ 我知道了~
首页Python与Neo4j构建实战:开发实现实时Web应用
Python与Neo4j构建实战:开发实现实时Web应用
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
"《使用Python和Neo4j构建Web应用》是一本由Sumit Gupta编著的专业书籍,英文原版无水印PDF格式。该书专注于指导读者利用Python语言和Neo4j图数据库技术开发令人兴奋的现实世界Web应用程序,涵盖了如Flask、Py2neo和Django等流行框架。书中内容旨在帮助开发者深入理解如何结合这些工具进行高效开发。 在本书中,读者可以学习到如何设计和实现Web应用程序,包括但不限于数据建模、查询处理、图形算法在Web应用中的应用以及如何优化性能。作者强调了Neo4j的非关系型数据库特性,这对于处理复杂数据网络和实时数据交互具有显著优势。此外,书中还覆盖了安全性和可扩展性方面的考虑,确保了应用在实际项目中的稳健性。 版权方面,所有权利受到保留,未经出版商(Packt Publishing)书面许可,不得以任何形式复制、存储或传输。尽管作者和出版社尽力确保信息的准确性,但本书不提供任何形式的保修,且不承担因使用本书信息导致的直接或间接损失的责任。 值得注意的是,书中会提及众多公司和产品的商标信息,但出版社无法对所有商标的准确性做出保证。通过本书,读者不仅能提升Python编程技能,还能掌握在现代Web开发中使用Neo4j的独特视角,为构建高效、灵活和富有创新性的Web应用奠定坚实基础。" 这本书适合对Python Web开发和图数据库感兴趣的开发者,无论是初学者还是有一定经验的开发者,都能从中找到有价值的内容和实用技巧,助力他们在实际项目中成功应用Python与Neo4j技术。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10006447/bg10.jpg)
Preface
[ vii ]
http://
en.wikipedia.org/wiki/Graph_(abstract_data_type)), which helps us to
understand the theory of graphs:
Neo4j, as an open source graph database, is part of the NoSQL family, and provides
rather than the entities themselves.
stopped. It is amazing to see the pace at which Neo4J has evolved over the years. At
the time of writing this book, the stable version was 2.2.RC01, which was released in
March 2015.
about graph databases and Python. You will appreciate their contribution to the
complex world of relationships.
Let's move forward and jump into the nitty-gritty of developing web applications
with Python and Neo4j.
In the subsequent chapters, we will cover the various aspects dealing with data
modelling, programming, and data analysis by means of application development
with Python and Neo4j. We will cover the concepts of working with py2neo, Django,
What this book covers
Chapter 1, , details the process of the installation of Neo4j
of every tool installed together with Neo4j (shell, server, and browser). More
importantly, it introduces, and helps you get familiar with, the Neo4j browser. You
(shell, Java, the browser, and REST).
![](https://csdnimg.cn/release/download_crawler_static/10006447/bg11.jpg)
Preface
[ viii ]
Chapter 2, , starts by explaining Cypher as a graph
query language for Neo4j, and then we take a deep dive into the various Cypher
constructs to perform read operations. This chapter also talks about the importance
of patterns and pattern matching, and their usage in Cypher with various real-world
and easy-to-understand examples.
Chapter 3, , starts by covering the Cypher constructs
used to perform write operations on the Neo4j database. This chapter further talks
about creating relationships between nodes and discusses the constraints required
for maintaining the integrity of data. At the end, it discuss about the performance
tuning of Cypher queries using various optimization techniques.
Chapter 4, , introduces Py2neo as a Python
framework for working with Neo4j. This chapter explores various Python APIs
exposed by Py2neo for working with Neo4j. It also talks about batch imports
and introduces a social network use case, which is created and unit tested by
using Py2neo APIs.
Chapter 5, , talks about building web
applications and the integration of Flask and Py2neo. This chapter starts with the
basics of Flask as a framework for exposing ReSTful APIs, and further talks about
the Py2neo extension OGM (short for Object Graph Mapper) and its integration with
Flask for performing various CRUD and search operations on the social network use
case by creating and leveraging various ReST endpoints.
Chapter 6, , starts by describing Neomodel as
an ORM for Neo4j. It discusses various high-level APIs exposed by Neomodel to
perform CRUD and search operations using Python APIs or by directly executing
Cypher queries. Finally, it talks about integration of two of the popular Python
frameworks, Django and Neomodel.
Chapter 7, , explains the logical architecture of Neo4j,
on. Then we move on to the physical architecture of Neo4j, where we talk about
meeting various NFRs imposed by typical enterprise deployments, such as HA,
fault tolerance, data locality, backup, and recovery. Further, this chapter talks
ways to monitor our Neo4j deployments.
![](https://csdnimg.cn/release/download_crawler_static/10006447/bg12.jpg)
Preface
[ ix ]
What you need for this book
Readers should have programming experience in Python and some basic knowledge
or understanding of any graph or NoSQL databases.
Who this book is for
This book is aimed at competent developers who have a good knowledge and
and applications.
of Python. This book will cover data modelling, programming, and data analysis by
means of application development with Python and Neo4j. It will cover concepts
Conventions
kinds of information. Here are some examples of these styles and an explanation of
their meaning.
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"We can include other contexts through the use of the include directive."
A block of code is set as follows:
MATCH (x { name: "Bradley" })--(y)-->()
WITH x
CREATE (n:Male {name:"Smith", Age:"24"})-[r:FRIEND]->(x)
returnn,r,x;
Any command-line input or output is written as follows:
pip install flask Flask-RESTful
New terms and important words are shown in bold. Words that you see on the
screen, for example, in menus or dialog boxes, appear in the text like this: "Now,
click on the star sign in the panel on the extreme left-hand side, and click on
Create a node in the provided menu."
![](https://csdnimg.cn/release/download_crawler_static/10006447/bg13.jpg)
Preface
[ x ]
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or disliked. Reader feedback is important for us as it
helps us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail feedback@packtpub.com, and mention
the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide at www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things
to help you to get the most from your purchase.
Downloading the example code
http://www.
packtpub.com for all the Packt Publishing books you have purchased. If you
purchased this book elsewhere, you can visit http://www.packtpub.com/support
![](https://csdnimg.cn/release/download_crawler_static/10006447/bg14.jpg)
Preface
[ xi ]
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
the code—we would be grateful if you could report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
http://www.packtpub.
com/submit-errata, selecting your book, clicking on the Errata Submission Form
submission will be accepted and the errata will be uploaded to our website or added
to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to https://www.packtpub.com/books/
content/support
information will appear under the Errata section.
Piracy
Piracy of copyrighted material on the Internet is an ongoing problem across all
media. At Packt, we take the protection of our copyright and licenses very seriously.
If you come across any illegal copies of our works in any form on the Internet, please
provide us with the location address or website name immediately so that we can
pursue a remedy.
Please contact us at copyright@packtpub.com with a link to the suspected
pirated material.
We appreciate your help in protecting our authors and our ability to bring you
valuable content.
Questions
If you have a problem with any aspect of this book, you can contact us at
questions@packtpub.com, and we will do our best to address the problem.
剩余183页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)