ntly moved to PHP, but cannot get used to the fact that it *IS* a
different language, therefore it has different syntax and achieves similar
things in different ways. If your feeble brain can't handle the differences
then I suggest you stick with your previous language and LEAVE PHP ALONE!
nd when out of his way
> to come across in a non-critical and non-confrontational manner.
>
> Tony Marston wrote:
>> Absolute rubbish!
>
> There's just no need to insult other list members like this.
Saying that someone's ideas are absolute rubbish is not an insult. Cal
"Nathan Rixham" wrote in message
news:49723749.4070...@gmail.com...
> Tony Marston wrote:
>> "Nathan Rixham" wrote in message
>>>
>>> a: Optional Static Typing
>>> I'm finding an ever increasingly need to be able to staticly type
"Jochem Maas" wrote in message
news:4972365b.4060...@iamjochem.com...
> Daniel Brown schreef:
>> Well, since Nathan asked especially for the opinions of those who
>> would disagree with him, I thought all was well
>>
>> On Sat, Jan 17, 2009 at 13:33
"Skip Evans" wrote in message
news:49733d18.6080...@bigskypenguin.com...
>I will be brief. Tony is a dick.
To quote your own words: "There's just no need to insult other list members
like this."
--
Tony Marston
http://www.tonymarston.net
http://www.radicore
; the cases above should show why, fact is (imho) PHP would be a far better
> language than java for web based applications in 99% of cases if it had
> this optional static typing and the tools that allows. *IF* it did, then
> 10 other people and myself wouldn't have wasted a
"Nathan Rixham" wrote in message
news:497366f5.2030...@gmail.com...
> Tony Marston wrote:
>> "Skip Evans" wrote in message
>> news:49723137.2010...@bigskypenguin.com...
>>> Wow, Tony, do you think in the future you could try to express yourself
>
"Nathan Rixham" wrote in message
news:49737051.9080...@gmail.com...
> Tony Marston wrote:
>> "Nathan Rixham" wrote in message
>> news:497366f5.2030...@gmail.com...
>>> Tony Marston wrote:
>>>> "Skip Evans" wrote in message
&
"Stuart" wrote in message
news:a5f019de0901181015g5e2db21fn2782839ab9648...@mail.gmail.com...
> 2009/1/18 Tony Marston :
>>
>> "Nathan Rixham" wrote in message
>> news:497366f5.2030...@gmail.com...
>>> Tony Marston wrote:
>>&
"Stuart" wrote in message
news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com...
> 2009/1/18 Tony Marston :
>> In case you have forgotten what this thread is about, the OP gave a list
>> of
>> suggested "improvements" to PHP and asked for o
"Nathan Rixham" wrote in message
news:4973b738.3010...@gmail.com...
> Tony Marston wrote:
>> "Stuart" wrote in message
>> news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com...
>>> 2009/1/18 Tony Marston :
>>>> In case you
""Daniel Brown"" wrote in message
news:ab5568160901191010u2d4073aas33789f0c81183...@mail.gmail.com...
> On Sun, Jan 18, 2009 at 12:36, Tony Marston
> wrote:
>>
>> Really? In 2007 I single-handedly designed and built an ERP system with
>> 130
&g
his web browser and then have to press the
PRINT key and choose the printer before it gets printed. He simply presses a
"Generate Report" button, and within a few seconds it is sent to the
printer.
It's not free, but it's worth the money (IMHO).
--
Tony Marston
http://www
if
curl_close($ch);
Hope this helps.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""bruce"" wrote in message
news:156301c97d82$b33698d0$0301a...@tmesa.com...
>A simple question (or so I thought).
>
> Does php allow an app to create/start a
I have been using www.lypha.com for 5 years without experiencing any of
those problems.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Martin ZvarĂk"" wrote in message
news:ed.1b.55096.ccd2b...@pb1.pair.com...
> Hi,
>
> I currently host my
Take a look at http://www.tonymarston.net/php-mysql/databaseobjects.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Michael Kubler" wrote in message
news:49918ebf.4070...@gmail.com...
> Hi,
> I'm just getting into programming in an Object Ori
Take a look at http://www.tonymarston.net/php-mysql/pagination.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Jim Douglas" wrote in message
news:col119-w57b0a24af94fce04673622bb...@phx.gbl...
Does anyone have a link to any examples of paging?
I have this
"Richard Heyes" wrote in message
news:af8726440902101100r4d479ddds189b617f06b88...@mail.gmail.com...
>> ...
>
> Are you the same Tony Marston who was on the Demon Internet webmaster
> type mailing list? (I don't remember the actual name).
I doubt it. I don'
on.net/php-mysql/dialog-types.html). The list of
transaction patterns which are available is more extensive than the basic
list, search, create, read, update and delete.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ode?
Generally speaking if something is fast to learn it is also the first to run
out of steam. If it doesn't have more features than you can learn in five
minutes the it doesn't have enough features to do anything useful, or with
any degree of flexibility.
--
Tony Ma
If you want to use UTF-8 fonts with FPDF then switch to TCPDF
(www.tcpdf.org)
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Thodoris" wrote in message
news:49ccee54.80...@kinetix.gr...
> Hello gang,
>I know this is not an fpdf mailing list b
ning code to
a single return point. In the good old days we used to use the GOTO in COBOL
to jump to the exit point, but then people found a way to abuse GOTO in very
imaginatve ways.
> The "benefit" is easier to read code.
I think that an immediate return is easier to read, b
layers.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""MEM"" wrote in message
news:002b01c9c4dd$08569bc0$1903d3...@com...
> So, on your opinion, we can call that method, on some circumstances, a
> good
> practice?
>
> What about the
's changes
back to the server for validation and updating. By dealing with both the GET
and POST in a single script it means that you don't have to redirect to a
different script if you have to redisplay the data because of invalid use
input.
--
Tony Marston
http://www.
se of a Data Dictionary. After building a
database table I import the structure into my data dictionary, then export
it to create a database table class and a table structure file. Still using
the data dictionary I can then build the family of transactions to maintain
that database table. This uses a standard set of page controllers and XSL
templates to build the HTML. So within 5 minutes I can run the transactions
to list, search, add, enquire, delete and update that database table without
having to write a single line of SQL or HTML. In most cases I don't even
have to write a single line of PHP. Is your method as fast as that?
All this functionality exists within the Radicore framework, so you can
download it and try it for yourself.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
going OOP, autoloading is a must!
I totally disagree. I have been doing OOP with PHP for years, and I have
never used autoloading. It is just a feature that can be used, misused or
abused just like any other. I choose not to use it, and my code does not
suffer in the least!
--
Tony Marston
htt
robably too
lazy to write readable, well structured and efficient code. Besides, I don't
use "require" statements, I use
$dbobject =& singleton::getInstance('classname');
I don't use autoload because *I* want to be in control. I prefer not to rely
on automatui
ting and debugging) - then you have no time to write that
> structured and efficient code in order to meet your deadlines! :)
Not using autoload does not have any noticeable effect on my deadlines, so I
have no incentive to use it. Just because you say that I *should* use it
carries no w
, so makes
maximum use of reusable modules.
There is an enormous amount of documentation to be found at
http://www.radicore.org as well as a tutorial and some sample applications.
Try it and see.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Angus Mann
, PRODUCT, ORDER, SHIPMENTS and INVENTORY databases from the
shemas in the book, then used the Radicore data dictionary to generate the
basic trasactions. All I had to do then was modify the table classes for the
business rules, customise a few screens, and I have my working application.
It i
nary, export it to create the
basic List/Search/Create/Read/Update/Delete transactions. All withut writing
a single line of HTML, SQL or even PHP. You can customise these scripts to
your heart's content
As an added bonus you get a Role Based Access Control (RBAC) system, Audit
Logging, Wo
No it isn't. That's just your personal preference. Mine is different.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"PJ" wrote in message
news:4a54c0e8.2080...@videotron.ca...
> Michael A. Peters wrote:
>> Daniel Brown wrote:
>>
What rules? I never agreed to abide by any rules before I started posting to
this group. My newsreader assumes top posting by default, so I have been top
posting for the past 10 years. If you don't like it then it is your problem,
not mine.
--
Tony Marston
http://www.tonymarston.net
nsible rule, and one
which I have no problem in following, is that if a question is posted in
English then I will answer in English. That makes sense, whereas "no top
posting" does not.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
&q
Then some arrogant
prat came along and said "I don't like this, so I am going to make a rule
which forbids it!". I don't like this rule, so I choose to disobey it.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
&q
igence to see how the
rule might be changed to suit the new circumstances.
I have fought against arbitrary and stupid rules for decades, and I will
keep fighting till the day I die. If you have a problem with that, then so
be it.
--
Tony Marston
http://www.tonymarston.net
ssage. Sometimes the only part of the previous post you leave in
is the part for which you are supplying an answer so as to avoid confusion.
Where I put my answers depends on the context, so saying that IT MUST ALWAYS
BE AT THE BOTTOM doesn't wash with me.
--
Tony Marston
http://www.tonym
"Stuart" wrote in message
news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com...
2009/7/9 Tony Marston :
> I thought of a better analogy. You ever been on the London
> Underground? There's a rule that says you stand on the right-hand side
> of escalators
"Bastien Koert" wrote in message
news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com...
On Thu, Jul 9, 2009 at 8:54 AM, Tony
Marston wrote:
>
> "Stuart" wrote in message
> news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com...
>>
les that existed before I got here and
> will exist after I leave and are agreed on by the community, so I'll
> not follow them!" is one of the most arrogant things I've ever seen on
> this list. He was making a suggestion, ffs, and you just want to be
> an ass and take everything personally. You're making an entire
> mountain range out of the proverbial molehill.
It is *you* who are making a mountain out of the no-top-posting molehill.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Bastien Koert" wrote in message
news:d7b6cab70907090705i1575fe0ft21a2cc82c992b...@mail.gmail.com...
> On Thu, Jul 9, 2009 at 9:54 AM, Tony
> Marston wrote:
>>
>> "Bastien Koert" wrote in message
>> news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@m
"Daniel Brown" wrote in message
news:ab5568160907090729j4c2cc67esff2823dcb493d...@mail.gmail.com...
> On Thu, Jul 9, 2009 at 09:54, Tony Marston
> wrote:
>>
>> I called him "intolerant" because he jumps on issues which other people
>> just
"Ashley Sheridan" wrote in message
news:1247162816.3514.17.ca...@localhost.localdomain...
> On Thu, 2009-07-09 at 16:57 +0100, Tony Marston wrote:
>> It's stupid because there is no valid reason as to why top posting is
>> *bad*.
>> It has existed on
ve already made up my mind, don't try to confuse me with facts."
The "fact" is that some people care about top posting while others do not.
Some people are passionately against it while others couldn't give a toss. I
personally don't give a toss, but I do see red wh
worth
> debating.
Yet another fatuous argument. "Thursday" has never been called "Myday", so I
would never propose such a thing. Top posting is different for the simple
reason that it existed in other newsgroups long before this group started,
and I object to being forced to
"Still Learnin'" wrote in message
news:4a5641d1.9040...@gmail.com...
> Tony Marston wrote:
>
>> I have no respect for anyone who wastes time in trying to force others to
>> obey their petty rules.
>
> ...
>> The whole point about this particlar rul
My sincerest apologies. I have been a complete jackass this entire
time and every single one of you has been correct. From this point
forward I vow to keep my God damned mouth shut unless spoken to.
You see, I have been struggling with defining my sexual identity
and trying to
This post did not come from me. The headers contain this:
Received: from [74.54.247.2] ([74.54.247.2:59280]
helo=mail.caracol-cream.com)
Very funny.
--
(the real) Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""(the fake) Tony Marston"" wrote in m
"Still Learnin'" wrote in message
news:4a565c73.8090...@gmail.com...
> Tony Marston wrote:
>
>>> You've been told more than twice, it isn't an arbitrary rule. It isn't
>>> a petty rule. It isn't about perfection.
>>
>>
is works then you can run my sample application
at http://www.tonymarston.net/php-mysql/sample-application.html You can even
download the code so that you can step through it with your debugger.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""MEM""
code to maintain. If you look carefully you should see
that the only difference between the DAO for TableA and the DAO for TableB
is the table name and the table structure. If you could pass these as
arguments into a generic DAO then you would not need a separate DAO for each
tab
"Paul M Foster" wrote in message
news:20090719220923.gv14...@quillandmouse.com...
> On Sun, Jul 19, 2009 at 03:56:43PM +0100, Tony Marston wrote:
>
>> Two things strike me as wrong with your thinking:
>>
>> (1) The idea that you have a separate DAO for each ent
ere you can place the code:
(1) In the component script.
(2) In the table class, as shown in
http://www.tonymarston.net/php-mysql/infrastructure-faq.html#faq84
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ry version is still perfectly valid and
useful to the novice programmer.
This not a book which is supposed to describe every possible feature within
the PHP language as it is not necessary to use every possible feature in
order to build a dynamic website.
--
Tony Marston
http://www.tonymarsto
tures will not be frozen until the first GA release.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Ashley Sheridan" wrote in message
news:1249585209.2818.0.ca...@localhost...
> On Thu, 2009-08-06 at 17:24 +0100, Tony Marston wrote:
>> PHP 6 does not exis
the
development of particular kinds of software, such as building web sites or
CMS systems, whereas others (like Radicore) are for building web
applications.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try $tableRowBGcolorBoolCounter = !$tableRowBGcolorBoolCounter
Notice that it says '= !' instead of !='.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"John Butler" wrote in message
news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com...
> qui
ery which contains
table names which do not have to be qualified with their database/schema
names. If you wish to refer to a table which is not in the current
database/schema then you must include the database/schema name.
I consider the use of the term "schema", as used by Post
as a precaution.
> I'm not expert, but I thought I'd offer my observation and am open to
> correction. ;-)
> PJ
This only works if you specify a database name in the call to
mysqli_connect(). If provided (it is optional) it identifies the default
database name for all subsequent
fault, then how do you turn it on? If it is on by default then how do you
turn it off? It needs to be turned off for phpMyAdmin otherwise it will
issue a message warning about possible data corruption.
Should this option be reinstated?
--
Tony Marston
http://www.tonymarston.net
Try this: http://www.tonymarston.net/php-mysql/amortise.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Dan Harrington"" <[EMAIL PROTECTED]> wrote in message
news:!~!UENERkVCMDkAAQACABgA0GQuLQQZMkSIxO1FcYz7L8KQ
doc/refman/4.1/en/set.html. This allows you to have an
array of values in a single field, and the user can select any number of
them.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> I just want to know is there any way to keep array data type natively in a
> sql
>
upport for OOP, but
PHP 5 provides better support.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> PHP 5 also supports more library than PHP 4.:)
>
>
> --
> Haydar TUNA
> Republic Of Turkey - Ministry of National Education
> Education Technology Dep
m the server,
and POST, which sends a form to the server. It is therefore quite obvious
that I validate on every POST. Simple, isn't it?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
. So if the user
presses the "refresh" button it simply repeats the GET.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> On Wed, March 14, 2007 10:24 am, Tony Marston wrote:
>> I honestly don't know why people use the approach of having a hidden
&g
t would be unusual,
> and
> I rather keep the access through the name of the other table).
>
> I'm sure there are more things I'm not considering, that's why I ask your
> help to find them, and your opinion about what I've said up to now.
>
I think you ought to take a look at
http://www.tonymarston.net/php-mysql/databaseobjects.html and
http://www.tonymarston.net/php-mysql/databaseobjects2.html which explain the
approach which I have adopted. You can download a working sample from
http://www.tonymarston.net/php-mysql/sample-application.html. If you feel
REALLY adventurous you can download its big brother from
http://www.radicore.org/
In this the data access object handles all communication with the database,
and the business objects deal with nothing but PHP arrays.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
need to insert such text into the XML document using the
createCDATASection() method otherwise the tags will be converted BEFORE the
XSLT processor gets to look at it.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Buesching, Logan J"" <[EMAIL PROTE
You need to look at "disable_output_escaping" at
http://www.w3.org/TR/xslt#disable-output-escaping
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Matthew Croud" wrote in message
news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com...
>
&g
You are constructing your query in "$qury" yet you are trying to read it
from "$query". Because they have different spellings they are treated as
different variables.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Watson Blair
d a single class is not allowed
to operate in more than one layer.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Parham Doustdar"" wrote in message
news:77.26.26879.9b9ad...@pb1.pair.com...
Hello there,
I've been asked to create something like the
other by simply
changing a single configuration variable. In my own framework I have
implemented DAOs for MySQL, PostgreSQL and Oracle.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Eric Bauman" wrote in message
news:b9.45.36627.eb296...@pb1.pair.com...
> I
kflow
engine.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"chetan rane" wrote in message
news:248b70ae0910271901o6ffd569dl203c9a08bfe8a...@mail.gmail.com...
> Hi Ben
>
> The quickest way to this is by using a framework.
> and the best way i could find
is as soon as possible so
that the changeover to PCRE wrappers can be fully tested and debugged before
PHP 6 goes live. This will make the changeover from POSIX to PCRE totally
transparent, and will be greatly appreciated in userland.
--
Tony Marston
http://www.tonymarston.net
http://www
de, so we've decided to drop them from PHP
entirely even though it will break lots of scripts" will not go down well in
userland.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"John Black" wrote in message
news:4af70120.1040...@network-technologies
That's an amateur fudge, not a professional fix. Besides, what happens if
your hosting company won't let you install PECL extensions?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Eddie Drapkin" wrote in message
news:68de37340911081209p45
"Eddie Drapkin" wrote in message
news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
wrote:
> That's an amateur fudge, not a professional fix. Besides, what happens if
> your hosting company won't let y
"Robert Cummings" wrote in message
news:4af7549d.1060...@interjinn.com...
> Tony Marston wrote:
>> "Eddie Drapkin" wrote in message
>> news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
>> On Sun, Nov 8, 2009 at 4:13 PM, Tony Marst
t;
>
> Because Tony's Radicore framework has a bunch of ereg* calls in it. ;-}
Just like a lot of other people's work.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> Paul
>
> --
> Paul M. Foster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Robert Cummings" wrote in message
news:4af76e1f.2050...@interjinn.com...
> Tony Marston wrote:
>> "Robert Cummings" wrote in message
>>>>> Then you've got several options:
>>>>> 1) Don't upgrade PHP.
>>>> Not a
"Ashley Sheridan" wrote in message
news:1257764339.1076.56.ca...@localhost...
> On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote:
>
>> developer laziness
>> or incompetence is not an acceptable excuse.
>
>
> Exactly, so fix your scripts!
But my scri
"David Otton" wrote in message
news:193d27170911090331k7ecbe69cl1dd30651273e7...@mail.gmail.com...
> 2009/11/9 Tony Marston :
>
>> So you wouldn't trust the PHP developers to write simple code which takes
>> each POSIX function and redirects it to a PCRE func
It is not possible to return an object via a web service, only data. You can
create an object in the client process, then populate it with data obtained
from a web service.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Manoj Singh" wrote in mes
Take a look at http://www.tonymarston.net/php-mysql/databaseobjects.html
You can also download a working example of this code from
http://www.tonymarston.net/php-mysql/sample-application.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Anton Heuschen" wrote
not? If not, and each implementation of a pattern takes just as much time
as the first, then where are the productivity gains from using design
patterns?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
se them?
> Date: Thursday 31 December 2009
> From: Larry Garfield
> To: "Tony Marston"
>
> On Wednesday 30 December 2009 10:50:40 am Tony Marston wrote:
>> I have recently been engaged in an argument via email with someone who
>> criticises my low opinion of
"Larry Garfield" wrote in message
news:201001010553.41956.la...@garfieldtech.com...
> On Friday 01 January 2010 05:26:48 am Tony Marston wrote:
>
>> > It depends what you're reusing. Design patterns are reusable concepts,
>> > not reusable code. That
tton, then select
"Classroom". This has functions for rooms, teachers, subjects, lessons,
classes and students.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
100 functions of
10 lines each, you still end up with 1000 lines of code. If you do not have
the mental capacity to deal with a 100-line function then you are in the
wrong job.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.ne
"Ashley Sheridan" wrote in message
news:1338326229.2616.31.camel@localhost.localdomain...
> On Tue, 2012-05-29 at 17:06 -0400, Paul M Foster wrote:
>
>> On Tue, May 29, 2012 at 08:52:46AM +0100, Tony Marston wrote:
>>
>> > On May 21, 2012, at 8:32 PM, tamous
"tamouse mailing lists" wrote in message
news:cahuc_t__sw-_yhrw4n4uqr-fa46+cebunzgehboaatrafla...@mail.gmail.com...
On Tue, May 29, 2012 at 2:52 AM, Tony Marston
wrote:
On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote:
A rule of thumb is no more than 50 lines per
func
"Tim Streater" wrote in message news:d0.7c.45755.25a3b...@pb1.pair.com...
On 03 Jun 2012 at 10:02, Tony Marston wrote:
"tamouse mailing lists" wrote in message
news:cahuc_t__sw-_yhrw4n4uqr-fa46+cebunzgehboaatrafla...@mail.gmail.com...
There is a point: if you are
e been totally confusing to allow alpha characters in a variable
that was supposed to contain nothing but numbers.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
saying "don't use encapsulation"or "don't use polymorphism". What a bunch
of idiots!
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECTs
You cannot have relationships in a database without foreign keys, but you
can have foreign keys with constraints.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
without constraints, so saying that you
cannot use a field as a foreign key in a SELECT statement without having a
constraint defined in the database is just plain wrong.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Lester Caine" wrote in message news:51d6987c.9050...@lsces.co.uk...
Tony Marston wrote:
I was designing and building database applications before relational
databases
became popular, and in those old hierarchical and network databases there
were
no such things as foreign key c
There's a small sample application that demonstrates how to use classes with
PHP 4 at http://www.tonymarston.net/php-mysql/sample-application.html
It also has a bigger framework at http://www.radicore.org/
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"
d studying design patterns.
Design patterns are overrated. For building transactions in CRUD
applications you need transaction patterns.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> the heads first book
> is a great starting point.
> actually if you want a soli
ome of the fundamental oop facilities and its all
> the community had for a while.
> the bottom line is the facilities it offers for oop are bare and i see no
> reason to try to understand its
> peculiarities and weaknesses when php5 is here and php6 is on the way.
Rubbish. PHP 4's implem
hat would be like learning java4 even though java6 is
> in use, its just silly.
But if a lot of servers refused to upgrade from java 4 it would be pointless
using code that only worked in java 6..
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> -nathan
>
> On
1 - 100 of 189 matches
Mail list logo