(Ebook) PHP Application Development with NetBeans by M A Hossain Tonu ISBN 9781849515801, 1849515808 instant download
(Ebook) PHP Application Development with NetBeans by M A Hossain Tonu ISBN 9781849515801, 1849515808 instant download
https://ebooknice.com/product/php-application-development-with-
netbeans-34782830
https://ebooknice.com/product/web-application-development-with-yii-and-php-
second-edition-43137684
https://ebooknice.com/product/core-web-application-development-with-php-
and-mysql-21995764
https://ebooknice.com/product/java-ee-5-development-with-
netbeans-6-55588404
(Ebook) Java EE 7 Development with NetBeans 8 by David R.
Heffelfinger ISBN 9781783983520, 1783983523
https://ebooknice.com/product/java-ee-7-development-with-
netbeans-8-23137640
https://ebooknice.com/product/java-ee-7-development-with-
netbeans-8-55591798
https://ebooknice.com/product/multi-tier-application-programming-with-
php-1021698
https://ebooknice.com/product/pro-php-8-mvc-model-view-controller-
architecture-driven-application-development-32578950
M A Hossain Tonu
BIRMINGHAM - MUMBAI
www.it-ebooks.info
PHP Application Development with NetBeans
Beginner's Guide
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means, without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly or
indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals. However,
Packt Publishing cannot guarantee the accuracy of this information.
ISBN 978-1-84951-580-1
www.packtpub.com
www.it-ebooks.info
Credits
Acquisition Editor
Production Coordinator
Kartikey Pandey
Arvindkumar Gupta
Technical Editor
Lubna Shaikh
www.it-ebooks.info
About the Author
M A Hossain Tonu graduated in Computer Science and Engineering from Dhaka University
of Engineering and Technology (DUET) in Bangladesh. He has been a passionate developer
over the past six years, has worked for leading software companies in the country, such as
Somewherein and Improsys, and has developed a series of web applications, services, and
solutions for foreign clients as part of the offshore software development and outsourcing
team. He is an agile software craftsman, who loves to code, keep himself updated with
cutting-edge technologies, and play with PHP, Zend Framework, Ruby-on-Rails, JavaScript,
and more. He loves to moderate the local PHP community—phpXperts—and conducts
seminars and workshops at different tech premises.
You can reach Tonu at mahtonu@gmail.com, and his tech blog is available at
http://mahtonu.wordpress.com.
It takes many people to create a book like this, and I'd like to thank some
people for their contributions to this work.
I'd also like to thank those who provided prepublication feedback, such as
Ondřej Nešpor, Tomáš Myšík and Nurul Ferdous.
Lastly, I would like to dedicate this book to Hasin Hayder, the PHP mentor.
www.it-ebooks.info
About the Reviewers
Tomáš Myšík is a Java Software Developer working on NetBeans, on its PHP support. He
used to be a Java Enterprise, and PHP developer working on modern websites. In his leisure
time, he likes sports (especially football and ice-hockey), reading books, and of course,
learning all new things related to software development.
He has eight years of experience in the Internet industry, and specializes in LAMP
technologies and open source. He has experience in all areas of application development
processes, including database design, user interface, e-commerce, security, web services,
optimization, and scalability.
He is the Tech Lead at @netCore Solutions; is an Open Source Entrepreneur, and loves all
things social, mobile, cricket, and soccer; and is a proud Indian.
Deepak holds a Masters degree in Computer Applications (2004) from Shivaji University,
Kolhapur in Maharashtra, India.
www.it-ebooks.info
Azizur Rahman is a B.Sc. (Hons) graduate in Artificial Intelligence from the University
of Westminster, UK. He was first introduced to NetBeans IDE during his placement at a
London-based Internet Service Provider. In his placement role, he realized the power of
NetBeans IDE to develop Real Estate Management Software, which is used by the top
estate agencies in London.
After graduating, Azizur secured employment with the University of Manchester as a Web
Application Developer. Throughout his six years of employment with the University, he
successfully used NetBeans IDE to develop a variety of internal applications. Some of his
most challenging projects have been to develop secure, reliable, scalable, and robust,
client-facing web applications using PHP Zend Framework and MySQL database.
In late 2011, he decided to pursue new pastures, and currently works for a world-class,
broadcasting company in the UK, developing innovative web applications used by millions of
users across the globe, where NetBeans IDE still firmly remains the tool of choice.
His keen interest in open source software makes him a regular attendee at the Manchester
WordPress User Group and wider PHP and open source community events.
I would like to thank everyone who helped in tech reviewing this book. You
know who you are; you have been absolutely amazing in supporting me
when I needed it most. Thank you for all your help.
Anthony Reid is a Software Developer, who currently works within the Information
Systems Department of a London insurance brokerage firm. Anthony has over 20 years of
programming experience. His career started in the pre-Windows era, developing database
systems in DataEase, Paradox, FoxPro, and Visual Basic.
For the last 10 years, he has focused on developing an array of PHP/SQL applications
covering financial risk management, workflow, and accounting solutions.
www.it-ebooks.info
Kaiser Ahmed is a professional Web Developer. He gained his B.Sc. degree from Khulna
University of Engineering and Technology (KUET), and his M.Sc. degree in Computer Science
and Engineering from United International University, Dhaka. He is also a co-founder of
CyberXpress.Net Inc, based in Bangladesh.
He has a wide breadth of technical skills and Internet knowledge, and has experience
across the spectrum of online development in the service of building and improving online
properties for multiple clients. He enjoys creating site architecture and infrastructure,
backend development using open source toolsets (PHP, MySQL, Apache, Linux, and others,
such as LAMP), and frontend development with CSS and HTML/XHTML.
I want to thank my loving wife, Maria Akter, for her great support.
After acquiring his BSc Engineering degree in Computer Science, he participated in the
development of open source software based on Python.
He has been conducting different workshops and seminars on open source software
since 2009 for university students.
www.it-ebooks.info
www.PacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub
files available? You can upgrade to the eBook version at www.PacktPub.com and as a print
book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
service@packtpub.com for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book
library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
On demand and accessible via web browser
www.it-ebooks.info
Table of Contents
Preface 1
Chapter 1: Setting up your Development Environment 7
Why NetBeans for PHP application development? 8
Recommended system requirements 9
Downloading the NetBeans IDE 10
Time for action – downloading the NetBeans IDE 10
Installing NetBeans 12
Time for action – installing NetBeans step by step 13
Setting up your development environment in Windows 18
Time for action – installing XAMPP in Windows 18
Setting up your development environment in the Ubuntu desktop 21
Time for action – installing LAMP on the Ubuntu desktop 21
Setting up your development environment in Mac OS X 25
Time for action – installing MAMP in Mac OS X 26
Creating a NetBeans PHP project 30
Time for action – creating a NetBeans PHP project 31
Summary 36
Chapter 2: Boosting Your Coding Productivity with the PHP Editor 37
Familiarizing yourself with the base IDE features 38
Exploring the editor for PHP 45
Exploring more with the editor 53
Using rename refactoring and instant rename 53
Using code completion 56
Using the code generator 63
Summary 66
www.it-ebooks.info
Table of Contents
[ ii ]
www.it-ebooks.info
Table of Contents
[ iii ]
www.it-ebooks.info
Table of Contents
[ iv ]
www.it-ebooks.info
Table of Contents
[v]
www.it-ebooks.info
Table of Contents
[ vi ]
www.it-ebooks.info
Preface
Productivity is an important factor for a software developer. A good development
environment or surrounding tools with the essence of a particular programming flavor can
boost up our coding productivity and yield a quality and optimized software product. In
order to maintain a fast-paced development, developers seek the environment with which
they feel at home. Such an Integrated Development Environment (IDE) can really accelerate
code implementation and be the magic wand to your project development.
A good IDE is more like a Swiss army knife with crafted features. It consists of:
A source editor
A compiler/an interpreter
A debugger
Database management support
Version Control System
Tools for Object-Oriented Programming, such as Class Browser and Object Inspector
IDE, like NetBeans, comes with greater flexibility, with such features where the developer
can feel at home. Moreover, NetBeans is absolutely free of charge and is provided by the
open source community. Simply put, the IDE for PHP will facilitate your productivity from
development to production, in every respect.
In this book, PHP Application Development with NetBeans Beginner's Guide, you will learn
how to cover different categories of web-based applications with the help of NetBeans IDE
through a couple of real-life, trendy PHP projects, and will complete the book as a confident
PHP developer.
www.it-ebooks.info
Preface
Chapter 2, Boosting Your Coding Productivity with PHP Editor, shows how you can write
faster code using the NetBeans PHP Editor. You will be introduced to killer features of the
IDE, such as code completion, code templates, rename refactoring, and code generation.
At the end of this chapter, you will have a full, hands-on knowledge of the editor's smart
features and increased coding productivity.
Chapter 4, Debugging and Testing using NetBeans, will explain how to debug and test a
PHP application using the IDE. Topics covered in the chapter include configuring XDebug,
debugging the PHP source code, testing with PHPUnit and Selenium, and code coverage.
Chapter 5, Using Code Documentation, guides the developer through the process of creating
source and project documentation. You will become familiar with PHPDoc standard tags
and their use, to document the source code with the help of the editor. Also, you will use an
external document generator for the project API.
Chapter 6, Understanding Git, the NetBeans Way, will show you how to use Git, a free and
open source-distributed version control system. Using the IDE, you will be working on Git
operations, such as initializing or cloning a repository, staging files, committing changes,
reverting modifications, and remote repository operations such as fetching, pulling, and
pushing, while working with branches. By the end of this chapter, you will be able to be part
of a development team using the NetBeans collaborative development feature.
Chapter 7, Building User Registration, Login, and Logout, deals with a professional PHP
application. You will design and develop a PHP application where users can register
themselves, and after the registration they can log in to the application, view, and update
their own profile, and more.
Appendix A, Introducing Symfony2 Support in NetBeans 7.2, will discover the Symfony2
PHP framework support by NetBeans. This introduces Symfony2's project creation, runs
Symfony2 commands, and introduces bundle creation from NetBeans.
[2]
www.it-ebooks.info
Preface
NetBeans IDE
Latest package of Apache, MySQL, and PHP
Conventions
In this book, you will find several headings appearing frequently.
Instructions often need some extra explanation so that they make sense, so they are
followed with:
You will also find some other learning aids in the book, including:
[3]
www.it-ebooks.info
Preface
You will also find a number of styles of text that distinguish between different kinds of
information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Set the installation folder using the
file browser."
When we wish to draw your attention to a particular part of a code block, the relevant lines
or items are set in bold:
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<title>Status updater</title>
<link href="<?=BASE_URL?>styles/styles.css" media="screen"
rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/
libs/jquery/1.7/jquery.min.js">
</script>
<script src="<?=BASE_URL?>js/status.js"></script>
</head>
New terms and important words are shown in bold. Words that you see on the screen, in
menus or dialog boxes, for example, appear in the text like this: "By clicking on the Next
button, you will be asked to accept the license agreement."
[4]
www.it-ebooks.info
Preface
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this
book—what you liked or may have disliked. Reader feedback is important for us to
develop titles that you really get the most out of.
If there is a book that you need and would like to see us publish, please send us a note in the
SUGGEST A TITLE form on www.packtpub.com or e-mail suggest@packtpub.com.
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 on 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.
[5]
www.it-ebooks.info
Random documents with unrelated
content Scribd suggests to you:
For ordinary dealings the Once cereal market still holds its own.
RAILWAYS
It is often said that the foreign, mostly British, railway community
on the River Plate constitutes an Imperium in Imperio.
There is no denying the great influence of that community, but that
influence has been rendered inevitable and is wholly justified by the
very large amount of capital which the railway companies have at
stake in these countries; amounting in Argentina to some
£200,000,000 and in Uruguay some £12,000,000, making a total of
some 212 millions sterling. Of this total a very large proportion in
Argentina and the whole in Uruguay is British.
The total length of railway lines in Argentina is close on 21,000
miles, and in Uruguay close on 1050 miles.
The predominant gauge in Argentina is that in use by the four
“great” railway companies of that country, viz. the Buenos Aires
Western, the Central Argentine, the Buenos Aires Great Southern and
the Buenos Aires Pacific, that is to say, the broad, 5 feet 6 inches,
while in Uruguay the great railway company of that country, the
Central Uruguay of Montevideo, and its subsidiary companies use the
Standard Gauge, 4 feet 8½ inches.
TRANSPORTER BRIDGE, PORT OF BUENOS AIRES
Until 1909 each of the Argentine railway companies was (as the
Uruguayan still are) controlled by the terms of its particular concession
or concessions. In that year, however, a Law was passed, usually
called the “Mitre Law,” after its initiator, the late Señor Emilio Mitre (an
eminent Argentine statesman and son of the famous General Mitre,
perhaps Argentina’s greatest President and Historian), by which all
then existing companies agreeing to be bound by its provisions should
be exempt from all National, Provincial and Municipal taxation and
Import Duties on material until the year 1947; they, on their part, to
pay to the National Government a single tax of 3% on their net
earnings, the amount of such earnings to be ascertained by deducting
10% (for working expenses) from their gross receipts.
Only one Company was then enjoying even more favourable terms
under its original concession than those given by the Mitre Law; but as
that concession was approaching the time of its expiration it would
have been ill-judged on the part of the Company to have shown itself
recalcitrant to the evident wishes of the Argentine Government.
Therefore it exercised its option in favour of the Mitre Law, as did all
the other Companies.
Though the Argentine and Uruguayan Railway Companies rely for
their usually very handsome profits much more on haulage of Cereals
and Live Stock than on their passenger traffic, it must not be
supposed that the latter is in any way neglected by them. Quite the
contrary is the case. Possibly nowhere else in the world (except,
perhaps, in Russia) is railway travelling as comfortable as on the River
Plate, either as regards day or night accommodation or catering, the
latter at moderate prices. All is roomy, well arranged and extremely
comfortable; but the trains de luxe of the River Plate are those which
the Buenos Aires Great Southern Company runs to and from Mar-del-
Plata in the season, with Pullman Drawing-room and Dining Cars. The
permanent way is good and the running smooth over almost the
whole of the two Republics. Trains going to the hotter regions are
provided with baths.
Besides British, considerable French and Belgian capital is invested
in Argentine railways. The “Province of Santa Fé” and the “Province of
Buenos Aires” railways are controlled by French Companies.
Incidentally it may be mentioned that in recent years most of the
shares of the “Anglo-Argentine” Tramways Company (which owns the
principal tramway system of the Capital) had found their way to
Belgium.
A short while ago a United States Syndicate, deemed powerful and
feared as menacing a monopoly, obtained control of some of the River
Plate lines, notably those of the Central Córdoba, Santa Fé and Entre
Rios Companies, under certain arrangements. This Syndicate has
since, however, been unable to command the capital necessary to fulfil
its part of those arrangements, and, practically, the control of the lines
has now reverted to the original Companies, the first and last named
of which are British.
The Argentine National Government has during the past few years
built and has under construction several lines intended to develop
districts which as yet do not offer sufficient temptation to private
Companies.
No fresh construction has been begun in either country since the
outbreak of the War, the Government and various Companies confining
themselves only to such construction work as is absolutely necessary
for the completion of extensions already commenced.
Railway construction in these countries does not usually offer any
great difficulties. The triumphs of River Plate railway engineering were
the line of the Buenos Aires Pacific Railway up and through the Andes
and some parts of the lines of the Entre Rios Railway Company in
parts of that Province in which for long it seemed impossible to
discover a route amid the marshy or spongy soil. Another such
triumph will probably occur when the Buenos Aires Great Southern
Railway penetrates the Andes, as it no doubt will do one day, much
further south than the Buenos Aires Pacific line.
PORTS
The River Plate Republics are very accessible to foreign Commerce;
possessing Atlantic Coasts, the River Plate and its two great navigable
tributaries, the Uruguay and the Paraná.
The Port of Buenos Aires ranks seventh among the ports of the
world in respect of the value of merchandise which enters and leaves
it, and second in America, that is to say, coming immediately after
New York. The next most important Argentine ports are those of
Rosario, Bahia Blanca and La Plata; after which come Santa Fé, San
Nicholás, Campana and Zárate, and many others on the Paraná and
Rio Gallegos, Puerto Madryn, San Antonio and others on the South
Atlantic. A new Port is in course of construction at Mar-del-Plata.
Montevideo only ranks in point of cargo values just before Bahia
Blanca; that is to say, with some £15,000,000 as against the
£115,500,000 trade of the Port of Buenos Aires.[22] Uruguay is,
however, preparing in this regard for her further development by large
new port works which have been under construction for some years
past. On the Uruguay she has Fray Bentos, Paysandú (both largely
concerned with meat extract and preserved meats export), Salto and
Santa Rosa; and on the River Plate, besides Montevideo, Colonia and
Maldonado; besides several relatively unimportant ports having as yet
but scanty or no effective accommodation for vessels. This could also
have been said of many of Argentina’s minor ports not so very long
ago. Port accommodation in Uruguay will follow the increase and
demands of her export produce and the requirements of her
consequently enhanced prosperity.
IMMIGRATION
As has been noticed under the heading “Racial Elements,” most of
the immigration to the River Plate has hitherto passed Montevideo and
landed at Buenos Aires. Over 300,000 immigrants landed in Argentina
in 1913; composed chiefly, and in point of numerical importance, in
the following order, of Spaniards, Italians, “Turcos” (Syrians or
Levantines), Russians (mostly Jewish), French, Germans, Austrians,
Portuguese and British. British arrivals on the River Plate consist
chiefly of the salaried classes; who, not being classed as immigrants,
do not appear on the Government returns from which the above
figures are taken. The only other noteworthy point about Argentine
immigration is that now the Spanish element largely predominates
instead of, as formerly, the Italian.
GRAIN ELEVATORS: MADERO DOCK, BUENOS AIRES
CHAPTER IX
GENERAL STATISTICS
During the past twenty years the foreign trade of Argentina and
Uruguay (especially that of the former country) has developed very
largely and rapidly; its increase during the decade 1904-1913 being, in
the case of Argentina, 108½% and in that of Uruguay 104%. The
increase in both cases is considerably greater than that of the trade of
any other South American country; as will be seen from the following
figures:—
$
Argentina. 1913 996,215,998
1904 477,985,737
gold 518,230,261 108·5% increase.
Uruguay. 1913 119,500,000
1904 58,481,343
Uruguayan 61,018,657 104% ”
Chile. 1913 725,828,254
1904 370,149,864
Chilian 355,678,390 94·5% ”
Brazil. 1913 1,976,733,388
1904 1,288,955,306
milreis 687,778,082 54% ”
The value of the U.K. Imports from Argentine and Uruguay was considerably
increased during 1915.
In 1913 values of the exports of the United Kingdom to the four
most commercially important countries of South America were:—
£ sterling.
To the Argentine Republic 23,430,246
” Brazil 13,015,769
” Chile 6,366,944
” Uruguay 3,027,568
Of the total value of the sales of the United Kingdom in the whole of
South America, Argentina received 45%, amounting to £52,033,764
sterling.
1913
THE TRADE OF THE UNITED STATES OF AMERICA WITH THE
REPUBLICS OF SOUTH AMERICA IS SHOWN IN THE
FOLLOWING TABLES COMPILED FROM AMERICAN OFFICIAL
STATISTICS
BALANCE OF TRADE
Imports Exports
In favour of Against
— —
U.S.A. U.S.A.
American American
American American
Dollars Dollars
Dollars Dollars
Argentine Republic 26,863,732 52,894,834 26,031,102 —
Uruguay 2,450,697 7,522,145 5,071,448 —
Guiana (British) 105,933 1,813,745 1,707,812 —
Bolivia 350 940,744 940,394 —
Guiana (French) 86,386 337,714 251,328 —
Paraguay 58,285 187,867 129,582 —
Falkland Islands — 725 725 —
Brazil 120,155,855 42,638,467 — 77,517,388
Chile 27,655,420 16,076,763 — 11,578,657
Columbia 15,992,321 7,397,696 — 8,594,625
Venezuela 10,852,331 5,737,118 — 5,115,213
Peru 9,666,579 7,341,903 — 2,324,676
Ecuador 3,037,689 2,553,785 — 483,904
Guiana (Dutch) 821,460 704,487 — 116,973
217,747,038 146,147,993 34,132,391 105,731,436
$ gold.
Inthe United Kingdom 130,886,587
” Germany 71,311,628
” France 38,075,811
” Italy 34,789,741
” Belgium 21,953,910
” Spain 12,389,607
” Austria-Hungary 5,933,444
” Holland 4,074,104
” Sweden 3,123,889
” Switzerland 2,749,682
” Portugal 585,975
” Russia 447,845
” Denmark 204,106
” Turkey 127,026
” Roumania, Bulgaria and Greece 119,989
£64,835,981 = gold $326,773,344
Purchased in other £18,765,714 = ” $94,579,199
parts of the world
Total £83,601,695 = ” $421,352,543
GOLD (Argentina)
Years. Imports. Exports. Balance.
1904 24,917,951 1,604,292 23,313,659
1905 32,559,540 819,375 31,740,165
1906 18,212,323 1,545,622 16,666,701
1907 23,552,726 3,133,886 20,418,840
1908 28,651,215 44,817 28,606,398
1909 67,453,816 1,247,831 66,205,985
1910 37,027,936 1,669,892 35,358,044
1911 12,764,236 3,008,597 9,755,639
1912 36,077,807 585,621 35,492,186
1913 47,941,425 43,417,484 4,523,941
$ gold 329,158,975 57,077,417 272,081,558
= £65,309,320 11,324,884 53,984,436
International Trade of
Argentina, Brazil, Chile, and
Uruguay
In point of fact Uruguay might well be proud of the statistics of her
productivity; for, in reality, she has more cattle than and nearly as
many sheep as the Argentine Province of Buenos Aires while her
superficial area is only some two-thirds of that of that Province.
Uruguay exports wool to the average value of some £4,000,000, hides
£1,500,000, frozen and chilled meat £1,110,000, and animals on the
hoof £230,000 annually. The value of its wheat exports for the five
years ending 1910 has been stated at £730,000; flour £234,000,
maize £82,000 and linseed £460,000 during the same period. As we
have seen, the value of Uruguayan trade for the year 1913 was
£23,900,000, and this figure, as well as those representing Cereal
production and exports, are likely to be rapidly increased under normal
conditions.
BUENOS AIRES
This is the largest and most densely populated and the most
uniformly prosperous Province of the Republic.[23] It is bounded on
the North by the Provinces of Santa Fé and Córdoba, on the West by
the Territories of the Pampa Central and Rio Negro and on the East
and South by the Paraná and Plate Rivers and the Atlantic Ocean. Its
capital, La Plata, is of a somewhat sadly monumental aspect. It is
indeed as yet but a monument to the still unrealized dreams of its
modern founders and architects. It was to have been a great city with
a busy port; it is now a place where Provincial parliamentarians,
lawyers, university students and Law Court and Police officials spend
some hours each day, coming each morning and returning each
evening from and to the superior activity and attractions of the Federal
Capital.
Nevertheless, La Plata has long, wide, eucalyptus-planted avenues;
its chief Plaza, in which are the Municipality and the Cathedral, is not
much smaller than Trafalgar Square; its Museum is world-renowned
for its palæontological collections; and its Law Courts, University,
Theatre, Police Offices and the above-mentioned Municipality are
huge, magnificently solid-looking buildings. But the lack of all
perceptible movement in La Plata leads one to imagine that if its broad
avenues and noble Plazas are not grass-grown the fact is due much
more to the action of street cleaners than to that of traffic. Truly, one
may often gaze down a very long vista of pavement between tall
eucalyptus trees for many minutes without seeing one single other
human being.
The Port works of Buenos Aires have drained its only source of
commerce from La Plata. Still, some day the trade of the Republic may
need it also.
At the same time it is only just to add that La Plata makes out a
claim to nearly 100,000 inhabitants. Where they all get to when one
visits it is mystery. Perhaps they in their turn spend their days in
Buenos Aires; returning home to sleep in the deep stillness of the
Provincial Capital.
The real chief port of the Province of Buenos Aires is Bahia Blanca.
First of all, in 1896, the National Government decided to build the
naval port and arsenal now in existence there: subsequently the
Buenos Aires Great Southern and the Buenos Aires and Pacific Railway
Companies realized the conveniences and situation of Bahia Blanca as
a place of export for the produce of their great and ever-increasing
southern and south-western zones and each company constructed a
port for the almost exclusive purposes of its own traffic.
The Great Southern Railway’s port is called Ingeniero White and that
of the Pacific Railway Puerto Galvan. Besides these, separate and
distinct constructions, Bahia Blanca has a fourth port, Cuatreros, at the
interior end of the bay, which exports large and increasing quantities
of frozen and chilled meat.
The great railway ports of Bahia Blanca are fitted with every modern
mechanical appliance, huge cranes, electric endless belts for loading
loose grain, and immense grain warehouses and elevators. The town
of Bahia Blanca is rapidly growing in importance and influence. Its
municipal administration is largely in the hands of British exporters
and merchants.
On the Atlantic coast, between Bahia Blanca and Buenos Aires and
some 400 kilometres from the latter city, is the famous seaside resort
of Mar-del-Plata, the Argentine Monte Carlo—Trouville-Biarritz-cum-
Ostend (before the War!).
During the season there (at all other times of the year it is deserted)
vast Hotels and Restaurants charge famine prices for accommodation
and food and there is always more demand than available supply of
either. Wealthy Argentine families have, of course, their palatial
“Chalets,” and the Rambla, as the great promenade by the sea is called,
is a very brilliant scene at all times during the weeks in which it is
fashionable.
Music and dancing contribute to the nights’ amusement at the
Casino, large Hotels and private houses; and at the Club members can
indulge in those games in which chance plays a greater rôle than skill.
As one young gentleman, who had failed to get a bed at any of the
Hotels he thought worthy of his patronage, once remarked, “No
matter, one can always play Baccarat till it is bathing time again.”
The air of Mar-del-Plata, that of the wide Atlantic, would doubtless
be a powerful restorative to anyone who could resist the temptations
of amusement sufficiently to give it a chance. Some people possibly
do, but if so keep very silent about it.
Mar-del-Plata is, however, destined to show a more serious side of
its possibilities in consequence of the building of a commercial port;
the construction of which has been entrusted to a French firm, also
the constructors of the new port works of Montevideo. Potatoes which
are deemed the best in the Republic come from near Mar-del-Plata.
Other chief towns of the Province of Buenos Aires are Avellaneda
(situate on the Provincial side of the boundary line between the
Province and the Federal City of Buenos Aires, but to all intents and
purposes a district of the latter with which it is connected by unbroken
lines of streets and houses), Chivilcoy, Pergamino, Tres Arroyos, Nueve de
Julio, Azul, the residential suburbs (of Buenos Aires), Temperley and
Lomas de Zamorra and many smaller “camp” towns.
All these minor camp towns of the Province of Buenos Aires look
much alike and none of them are very interesting in appearance. Their
stores, however, do good business in supplying the needs of large
surrounding rural districts, and some of these towns have periodical
cattle shows and sales which are well worth visiting.
Temperley and Lomas de Zamorra consist chiefly of Villa residences,
of all sizes and styles of architecture, and some shops.
The Province of Buenos Aires, half as large again as the whole
Republic of Uruguay, possesses some of the best land in Argentina,
and in it farming has reached the highest developments as yet
attained in either Republic. In it intensive farming has already made its
first appearance in South America—as needs must when high land-
values drive. The surface of this Province is one almost unbroken level
plain.
It at present produces one-third of the whole output of wheat,
nearly a similar proportion of maize, one-fifth that of linseed, 87% of
that of oats, and also contains about 37% of the live stock of the
whole Republic.
Good water is obtainable nearly everywhere in practically close
proximity to the surface. This fact, combined with the comparatively
few running streams and the tendency of these to dry up in hot
weather, causes some parts of this Province to have the appearance of
a forest of tall skeleton iron windmills. These are set up over artificially
sunk wells, to draw water for animals and domestic purposes.
A detailed description of the Province of Buenos Aires would extend
to a very great length indeed; as this Province is, as far as its climatic
conditions permit, a compendium of the industrial activity, at its best,
of the whole Republic. That it is so is due to its situation on, or always
in relatively close proximity to, the estuary of the River Plate; the
cradle of the civilization and progress of the countries under
discussion.
Farming and most other industries find their highest expression
within easy reach of and in the Federal Capital.
As far as its physical aspect is concerned, the Province of Buenos
Aires has been accused with considerable justice of being generally
uninteresting. Certainly its surface is one huge flat plain, until one gets
south to the ranges of the Sierra de la Ventana and the Tandíl hills.
Past them, nothing but monotonous plain again till its southernmost
boundary, the Rio Colorado, is reached.
Its only romantic scenery, though that is delightful indeed, is on its
north-eastern frontier, along the small River Tigre and the majestic
Paraná; the banks and innumerable islands of which are clad with
useful osiers, flowering reeds, peach trees and a large riot of other
beautiful and luxuriant vegetation. Many a spring day can be passed in
idyllic enjoyment among the islands of the Tigre.
At Tandíl, on the south-eastern side of the Province, there are
quarries of fine marble and building stone, and until a year or so ago
there was a famous rocking-stone perched on another rock, the
surface of which is inclined at an angle of something like 45 degrees.
To all appearances a mere gust of wind would have toppled the upper
stone down into a hollow beneath; but the tale goes that Señor Benito
Villanueva, a wealthy and sportsmanlike Argentine, once tied a rope
round the rocking-stone and attached the other end to a double span
of oxen on the plain below. The oxen pulled; but without any other
effect on the rocking-stone than temporarily to cant it just as many
centimetres as it could be moved by a good push from a man’s hand.
Now, alas for Tandíl, someone has succeeded in dislodging the
rocking-stone from its uncanny-looking eminence, so that it has,
literally, fallen from its high celebrity.
Buenos Aires is, naturally, the Province of palatial estancia houses
surrounded by model farms. The Queen Province. The most densely
populated and cultivated and the one with the largest revenues.
SANTA FÉ
This Province ranks next to that of Buenos Aires in respect of area
and population, while its output of both maize and linseed is slightly
greater than that of the Queen Province; in regard to wheat it stands
third among the Argentine Provinces, Córdoba coming immediately
after Buenos Aires, and in respect of oats it again comes second. In
point of live stock it comes only fifth, after Buenos Aires, Entre Rios,
Corrientes and Córdoba.
It is bounded on the North by the Territory of the Chaco, on the
West by the Provinces of Santiago del Estero and Córdoba, on the
South by the Province of Buenos Aires and on the East by the River
Paraná.
The northern part of Santa Fé is covered with vast forests,
continuations of those of the Provinces of Santiago del Estero and the
Territory of the Chaco. These forests are rich in Quebracho wood, and
from them also come large supplies of firewood and charcoal.
The other parts of Santa Fé are devoted to stock and agriculture.
The streams of this Province, although more numerous than those
of Buenos Aires, have (with the exception of the great River Paraná)
the same tendency to dry up as have those of the Queen Province,
and, therefore, water-drawing windmills are in proportionate evidence.
Its Capital, the city from which it takes its name, is one of the oldest
in the River Plate countries. Its movement is, however, little else than
that of a merely political capital; the town of Rosario, with its port,
being the centre of most of the commercial activity of this part of the
Republic. Until the rise of Bahia Blanca, Rosario held the undisputed
rank of the second commercial centre of Argentina.
The City of Santa Fé nevertheless possesses an old-world beauty
and charm, with its palm avenues and spacious Plazas, its many
churches and its large one-storied residences. Rosario, on the other
hand, is as unsightly and uninteresting a place to the eye as could well
—or, rather badly—be conceived. It has, however, a large share of the
cereal export trade. This Province has also other important ports on
the Paraná, viz. the port of Santa Fé itself, Villa Constitution, Colastiné
and several minor ones, all of which are available for ocean-going
ships.
After Buenos Aires, Santa Fé is the Province with by far the greatest
and most conveniently situated railway mileage.
Mixed agriculture and stock farming is practised in many districts;
though Santa Fé has not yet felt the economic need of other than
extensive farming. Still, land values have, until recent events
prejudicially, if only temporarily, affected all such values, followed
those in Buenos Aires on an upward course. Santa Fé sends large
quantities of potatoes to the Buenos Aires and local markets.
The milling industry of this Province ranks not only next in
importance to that of Buenos Aires, but its output of flour is very
much greater than that of Entre Rios, the next most important
Province in this regard. The Department of Reconquista, in the North
of the Province, has sugar mills, and other industries are the
production of ground-nut oil, dairy produce, tanneries, preserved
meats and maize alcohol.
CÓRDOBA
This Province is bounded on the North by the Province of Santiago
del Estero, on the North-West by the Province of Catamarca, on the
West by the Province of La Rioja and San Luis, on the South by the
Territory of the Pampa Central and the Province of Buenos Aires, and
on the East by the Province of Santa Fé.
Córdoba is the second Province of the Republic in point of wheat
and linseed production, being not far behind Buenos Aires in this
regard. Its maize production, however, does not amount to one-third
of that of either Buenos Aires or Santa Fé, while in oats it about ties
with the latter. In live stock it ranks fourth among the Argentine
Provinces, though it has less than half the number possessed by Entre
Rios and only about half of that of Corrientes. In the matter of
population it ranks fourth among the Provinces of the Republic, with
about one-third that of Buenos Aires.
As one travels towards the ancient capital of this Province one
begins to realize that the cosmopolitan delights of the city of Buenos
Aires do not reflect the soul of the Republic: the soul that fought for
its liberty under the blue sky and warm sun of 25th of May, now over
a hundred years ago. One begins involuntarily to dream of the Gaucho
Wars and to feel the atmosphere of wilder bygone times amid the
steep water-cut and cacti-crowned banks of the five great rivers which
traverse the land from west to east. And when one gets to “The
Learned City” the illusion is not dispelled. Only one extremely modern-
looking Hotel in a corner of the Plaza jars; the rest of old Córdoba
exhales the magnolia-scented atmosphere of Old Colonial days. The
Cathedral, the University (founded in 1613) and the innumerable
churches, the bells of which all clang incessantly on Feast-days, all
help to preserve in the old part of the City of Córdoba an atmosphere
of the Middle Ages, when monasteries and learning were indissolubly
connected. And of monks and nuns, brown-robed, black-robed, white-
robed and blue-robed, many there be in Córdoba. Wherever one
looks, across the Plaza, up one street or down another, one sees them
walking in twos or small groups with a uniformly measured step
which, as one instinctively feels, nothing could hurry nor retard. And
the black-coated citizens of Córdoba walk silently with eyes downcast.
But there is fierceness behind those cast-down eyes and quick hot
blood in the veins of those men in black; as anyone would soon find
out to his cost were he suspected of too close enquiry into local
political ways and means.
The writer speaks feelingly on this subject since when, a few years
ago, he was visiting Córdoba with a quite natural but equally innocent
curiosity for the old-world corners of the City, he unfortunately
disclosed in conversation with an eminently respectable-looking,
immaculately dressed gentleman that he, the present author, was a
journalist.
Soon afterwards his adventures began. He was molested in indirect
ways, and finally invited to pay a visit to the Central Police Station.
There he was given cigarettes and coffee by the Comisario, who
floridly apologized and expressed his deep regret and shame for the
treatment an honourable stranger had received. It was, however, but a
series of regrettable accidents arising from unfortunate error of certain
bad characters who were now in durance vile in consequence.
Here he rang a bell and ordered the answering policeman to bring in
the culprits. They were duly brought in and recognized.
“Now,” said the Comisario, “you will have no more trouble. Besides,”
he added, “one of our plain-clothes men will accompany you in future
wherever you go—for your better protection.”
The plain-clothes man certainly obeyed orders; so persistently that
the whole why and wherefore at last dawned on my confused brain.
The intention was to worry me so much in a polite quasi-legitimate
fashion that I could have no ostensible cause of complaint; but, at the
same time, so that I should incontinently quit the ancient City of
Córdoba in disgust. The reason for all this was the fact that, having
nothing better to do on the evening of my arrival, I had wandered into
the basement of my Hotel and there found a person who looked like,
and indeed was, a leading local politician running a roulette to catch
the nickels of a crowd of working men. At that time the roulette was
the scarcely concealed vice of the town, rife in the back room of every
bar.
It is an illegal game in Argentina, as elsewhere except Monte Carlo,
and shortly after my visit it was the cause of a great outcry and
scandal in which several Provincial High Officials were involved.
I was a journalist and, therefore, dangerous. So a course of delicate
hints to me to get out had been planned and executed.
Following the gambling scandal, a leading Opposition politician was
shot dead in his carriage on the high road a short way outside the city.
When I read this news I was glad that I had not persisted in seeming
to pry into cupboards containing Córdoba’s official skeletons, and for
similar reasons I am still somewhat shy of Córdobese gentlemen with
downcast eyes and soft, measured tread.
All that, however, belongs to Old Córdoba. The parts of the city
called New Córdoba and Alta Córdoba are replete with palatial
residences as fine and as new as residential palaces need be.
The City of Córdoba is not only the traditional seat of learning par
excellence of the Republic, it is also, as a consequence of old-time
associations no doubt, its chief centre of clerical influence.
Córdoba is intensely and, if one may be permitted to say it,
intolerantly Catholic. Were it not subject to the democratic laws of a
modern and very go-ahead Republic one would hardly be surprised to
find disciplinary institutions of an Inquisitorial type still in full swing in
this old-world city of South America. As it is, there is no doubt of the
predominance of priestly influence in Provincial politics. Much of the
best freehold property in the city is owned by Monastic Orders or by
the Society of Jesus.
Most of the Province consists of a large plain; which, naturally, is the
chief productive area. But Córdoba has hills famous for the purity of
their air and great resorts for consumptive patients. Alta Gracia, with
its fine hotel, golf links, etc., has of late years acquired a very
favourable reputation as a place in which anyone may spend a very
pleasant and healthful week or so.
In the North-West of the Province are great salt marshes, in and
around which only a very scanty and meagre vegetation flourishes,
and in the North-East is the Mar Chiquita, a large and, in parts, very
deep lake, the waters of which are salty like those of the sea. Hence
its name.
Córdoba also possesses large forests, as yet chiefly exploited for
building timber and firewood.
Rio Cuarto, on the river of that name, is the next largest town in the
Province in point of population, but it is likely soon to be altogether
surpassed in importance by Bell Ville, on the Central Argentine
Railway, a rapidly advancing centre of the cereal trade, and some day
also, probably, by Marcos Juarez, comparatively close to it on the same
line.
Goats abound in the North of Córdoba. Land values have increased
and are increasing; especially in the most fertile regions in the South-
Eastern parts of the Province.
Córdoba has given and continues to give much attention to
irrigation and possesses one of the largest semi-natural reservoirs in
the world, certainly in South America, in the Dique San Roque, which is
formed by means of a wall of masonry placed across the mouth of a
mountain gorge. Its capacity is 260,000,000 cubic metres, and its
operation is completed by a basin situated some fifteen miles from
and below it, from which the water flows through two great primary
canals. The area so irrigated is some 130,000 hectares. Other large
irrigation works are in course of construction, and more still are under
consideration.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com