Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Tony Marston
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

Re: [PHP] Web dev, DB and proper db design.

2013-07-05 Thread Tony Marston
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 constraints

[PHP] Re: Web dev, DB and proper db design.

2013-07-04 Thread Tony Marston
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

Re: [PHP] PDO: extend or encapsulate?

2012-07-14 Thread Tony Marston
use encapsulationor 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

[PHP] Re: Hungarian Notation interest with PHP

2012-06-04 Thread Tony Marston
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

Re: [PHP] Re: Function size

2012-06-03 Thread Tony Marston
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 t...@marston-home.demon.co.uk wrote: On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote: A rule of thumb is no more than 50

Re: [PHP] Re: Function size

2012-06-03 Thread Tony Marston
Tim Streater wrote in message news:d0.7c.45755.25a3b...@pb1.pair.com... On 03 Jun 2012 at 10:02, Tony Marston tonymars...@hotmail.com wrote: tamouse mailing lists wrote in message news:cahuc_t__sw-_yhrw4n4uqr-fa46+cebunzgehboaatrafla...@mail.gmail.com... There is a point: if you

Re: [PHP] Re: Function size

2012-05-30 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk 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, tamouse mailing lists wrote

[PHP] Re: Function size

2012-05-29 Thread Tony Marston
, 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.net/) To unsubscribe, visit: http

[PHP] Re: [PHP-DB] School timetable in php

2012-04-23 Thread Tony Marston
on the PROTO button, 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

Re: [PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-17 Thread Tony Mak
Thanks for your replys. Of course PHP 2.7.2 was a careless mistake, i meant PHP 5.2.7, to underline i'm not able to use those neat namespace features in PHP 5.3. Let me provide you with more details. As already mentioned cron.php should include at least two other php-scripts because

[PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-16 Thread Tony Mak
Hi there, i have following problem: Assume we have a cron.php which is called every hour by a cron job. This cron.php should then be used to execute other php-scripts script1.php, script2.php. For a pitty our server has Safe-Mode activated so we arent able to shell_exec / exec those files.

[PHP] Consistent Class Renaming (Simple Refactoring)

2011-05-16 Thread Tony Mak
Hi there, i have following problem: Assume we have a cron.php which is called every hour by a cron job. This cron.php should then be used to execute other php-scripts script1.php, script2.php. For a pitty our server has Safe-Mode activated so we arent able to shell_exec / exec those files.

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2010-01-03 Thread Tony Marston
Larry Garfield la...@garfieldtech.com 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's the key difference

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2010-01-01 Thread Tony Marston
: Thursday 31 December 2009 From: Larry Garfield la...@garfieldtech.com To: Tony Marston t...@marston-home.demon.co.uk 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 design

[PHP] If design patterns are not supposed to produce reusable code then why use them?

2009-12-30 Thread Tony Marston
or 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

[PHP] Re: Good SQL builder class

2009-12-04 Thread Tony Marston
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 anto...@gmail.com

[PHP] Re: Return object to client

2009-11-27 Thread Tony Marston
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 manojsingh2...@gmail.com wrote

Re: [PHP] Convert deprecated POSIX functions into wrappers forequivalent PCRE functions

2009-11-09 Thread Tony Marston
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

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Robert Cummings rob...@interjinn.com wrote in message news:4af76e1f.2050...@interjinn.com... Tony Marston wrote: Robert Cummings rob...@interjinn.com wrote in message Then you've got several options: 1) Don't upgrade PHP. Not an acceptable option. 2) Pick a different hosting provider

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk 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 scripts aren't broken! It's

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
David Otton phpm...@jawbone.freeserve.co.uk wrote in message news:193d27170911090331k7ecbe69cl1dd30651273e7...@mail.gmail.com... 2009/11/9 Tony Marston t...@marston-home.demon.co.uk: So you wouldn't trust the PHP developers to write simple code which takes each POSIX function and redirects

[PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
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.radicore.org -- PHP General

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
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 s...@network-technologies.org wrote in message news:4af70120.1040...@network-technologies.org... The same

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
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 oorza...@gmail.com wrote in message news

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com... On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston t...@marston-home.demon.co.uk wrote: That's an amateur fudge, not a professional fix. Besides, what happens if your hosting company

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
Robert Cummings rob...@interjinn.com wrote in message news:4af7549d.1060...@interjinn.com... Tony Marston wrote: Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com... On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston t...@marston

Re: [PHP] Converting tables into forms

2009-10-28 Thread Tony Marston
engine. -- Tony Marston http://www.tonymarston.net http://www.radicore.org chetan rane chetan.d.r...@gmail.com 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 was using

[PHP] Re: Question: Sorting through table headers?

2009-09-14 Thread Tony Marston
, and 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 parha...@gmail.com wrote in message news:77.26.26879.9b9ad...@pb1.pair.com... Hello there, I've been asked to create something like the tables you

[PHP] Re: Hoping for a hand with a login script

2009-09-10 Thread Tony Marston
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 bestudios...@gmail.com wrote in message news

Re: [PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Tony Marston
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 m...@obviousdigital.com wrote in message news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com... On 9 Sep

[PHP] mbstring.func_overload cannot been changed in htaccess

2009-08-13 Thread Tony Marston
, 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 http

Re: [PHP] Is select_db necessary?

2009-08-12 Thread Tony Marston
include the database/schema name. I consider the use of the term schema, as used by PostgreSQL and Oracle, to be inaccurate in that a database table is subordinate to a database, not a schema. That is why it is called a database table and not a schema table. -- Tony Marston http

Re: [PHP] Is select_db necessary?

2009-08-12 Thread Tony Marston
need to use select_db in order to switch the default database from one to another. -- 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

[PHP] Re: how to say inverse your value (to a boolean)?

2009-08-10 Thread Tony Marston
Try $tableRowBGcolorBoolCounter = !$tableRowBGcolorBoolCounter Notice that it says '= !' instead of !='. -- Tony Marston http://www.tonymarston.net http://www.radicore.org John Butler govinda.webdnat...@gmail.com wrote in message news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com... quick Q

[PHP] Re: Question: what are frameworks?

2009-08-09 Thread Tony Marston
, 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

Re: [PHP] PHP 6 and MySQL 5 for Dynamic Web Sites Book

2009-08-06 Thread Tony Marston
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.tonymarston.net http

Re: [PHP] PHP 6 and MySQL 5 for Dynamic Web Sites Book

2009-08-06 Thread Tony Marston
will not be frozen until the first GA release. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Ashley Sheridan a...@ashleysheridan.co.uk 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 exist

[PHP] More on JS alert that links to file

2009-07-27 Thread tony mount
. If I remove the header() lines (ie just create the files on the server) no worries, it creates them all. (I start op buffer at the top of the code and flush the buffer on each loop). Anyone have any ideas please? Thanks Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] More on JS alert that links to file

2009-07-27 Thread tony mount
Thanks very much to all the he's and any she's who answered this. Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Newbie: Composition by Association - Pagination Class general question.

2009-07-22 Thread Tony Marston
-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

[PHP] Help with file downloads.

2009-07-19 Thread tony mount
: ' . filesize($file)); ob_clean(); flush(); readfile($file); //exit; } from the the php manual under readfile. The files are text files 1Mb in size. Only the first file is downloaded. (The exit; statement is excluded). What should I do? Thanks Tony -- PHP General Mailing List

Re: [PHP] Re: Newbie: Composition by Association - Pagination Class general question.

2009-07-19 Thread Tony Marston
is about creating reusable code to reduce the maintenance burden, so if you insist that a separate DAO for each individual table is the way to go then you don't understand how to apply the principles of OOP correctly. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP

Re: [PHP] Re: Newbie: Composition by Association - PaginationClass general question.

2009-07-19 Thread Tony Marston
Paul M Foster pa...@quillandmouse.com 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 entity instead

[PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
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 http://www.radicore.org Andrew Ballard aball...@gmail.com wrote in message

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
. 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.tonymarston.net

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip 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

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... On Thu, Jul 9, 2009 at 8:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
. 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

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090705i1575fe0ft21a2cc82c992b...@mail.gmail.com... On Thu, Jul 9, 2009 at 9:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Bastien Koert phps...@gmail.com wrote in message

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Daniel Brown danbr...@php.net wrote in message news:ab5568160907090729j4c2cc67esff2823dcb493d...@mail.gmail.com... On Thu, Jul 9, 2009 at 09:54, Tony Marstont...@marston-home.demon.co.uk wrote: I called him intolerant because he jumps on issues which other people just don't care about

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk 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 the internet ever since

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
help us find something new. I would hate to live in a real life Stepford Wives existence. Actually, I found it quite amusing to watch Tony paint himself into a corner and try to defend his indefensible position. Top posting is not indefensible as it has been used in other newsgroups without

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
long before this group started, and I object to being forced to change my posting methods on nothing more than a whim. -- Tony Marston http://www.tonymarston.net http://www.radicore.org I wish my life was so simple that I could raise issue with things like this, but my life requires more

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Still Learnin' ssski...@gmail.com 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 rule is that it has no purpose other than

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
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

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
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 t...@marston-home.demon.co.uk wrote

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Still Learnin' ssski...@gmail.com 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. It is arbitrary. It is petty. It is about someone's idea of perfection

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Tony Marston
No it isn't. That's just your personal preference. Mine is different. -- Tony Marston http://www.tonymarston.net http://www.radicore.org PJ af.gour...@videotron.ca wrote in message news:4a54c0e8.2080...@videotron.ca... Michael A. Peters wrote: Daniel Brown wrote: First, a reminder

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Tony Marston
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 http

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Tony Marston
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 Daniel Brown danbr...@php.net wrote in message

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Tony Marston
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 Daniel Brown danbr...@php.net wrote in message

[PHP] Re: Automated form generation?

2009-06-08 Thread Tony Marston
, Workflow, Single or Two Factor Authentication for user logons, PDF forms generation, and a whole host of other goodies. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Web application design considerations - a good reference ?

2009-06-02 Thread Tony Marston
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 angusm...@pobox.com wrote

Re: [PHP] Web application design considerations - a good reference?

2009-06-02 Thread Tony Marston
in real life by an online jewelery company, so it's not just an amateur product. Others will doubtless argue about how I've done this. There are about as many opinions about how all this should be done as there are developers. How true. How very true. -- Tony Marston http://www.tonymarston.net

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
, 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 http

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
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 automatuic features which may not work as expected. -- Tony

Re: Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Tony Marston
! :) 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 weight at all. -- Tony Marston http://www.tonymarston.net http://www.radicore.org On Thu, May 28, 2009 at 10:53 AM, Tony Marston

[PHP] Re: Forms validation and creation- easier solution?

2009-05-23 Thread Tony Marston
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

Re: [PHP] Self-Process php forms or not?

2009-04-24 Thread Tony Marston
layers. -- Tony Marston http://www.tonymarston.net http://www.radicore.org MEM tal...@gmail.com 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 moto: let's separate business from

[PHP] Re: Self-Process php forms or not?

2009-04-24 Thread Tony Marston
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.tonymarston.net http

Re: [PHP] Multiple return statements in a function.

2009-04-23 Thread Tony Marston
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, but what do I know - I've only been programming for 30 years. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Cheers, tedd

[PHP] Re: fpdf adding font error

2009-03-27 Thread Tony Marston
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 t...@kinetix.gr wrote in message news:49ccee54.80...@kinetix.gr... Hello gang, I know this is not an fpdf mailing list but if anyone

[PHP] Re: Frameworks Which Have A Bake Function?

2009-03-22 Thread Tony Marston
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

Re: [PHP] Frameworks Which Have A Bake Function?

2009-03-22 Thread Tony Marston
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 Marston http://www.tonymarston.net http

[PHP] Re: Looking for some PHP OO programming guides

2009-02-10 Thread Tony Marston
Take a look at http://www.tonymarston.net/php-mysql/databaseobjects.html -- Tony Marston http://www.tonymarston.net http://www.radicore.org Michael Kubler mdk...@gmail.com wrote in message news:49918ebf.4070...@gmail.com... Hi, I'm just getting into programming in an Object Oriented fashion

[PHP] Re: paging

2009-02-10 Thread Tony Marston
Take a look at http://www.tonymarston.net/php-mysql/pagination.html -- Tony Marston http://www.tonymarston.net http://www.radicore.org Jim Douglas jd...@hotmail.com wrote in message news:col119-w57b0a24af94fce04673622bb...@phx.gbl... Does anyone have a link to any examples of paging? I have

Re: [PHP] Re: paging

2009-02-10 Thread Tony Marston
Richard Heyes rich...@php.net 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't subscribe to any list

[PHP] Re: PHP webhosting - USA

2009-01-24 Thread Tony Marston
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 mzva...@gmail.com wrote in message news:ed.1b.55096.ccd2b...@pb1.pair.com... Hi, I currently host my site by Powweb

[PHP] Re: process creation

2009-01-23 Thread Tony Marston
. -- Tony Marston http://www.tonymarston.net http://www.radicore.org bruce bedoug...@earthlink.net 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 process/application that can continue to run on its

[PHP] Re: Client/Server Printing

2009-01-20 Thread Tony Marston
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.tonymarston.net http://www.radicore.org Paul -- Paul M. Foster -- PHP General Mailing List (http

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread Tony Marston
Daniel Brown danbr...@php.net wrote in message news:ab5568160901191010u2d4073aas33789f0c81183...@mail.gmail.com... On Sun, Jan 18, 2009 at 12:36, Tony Marston t...@marston-home.demon.co.uk wrote: Really? In 2007 I single-handedly designed and built an ERP system with 130 database tables

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Skip Evans s...@bigskypenguin.com wrote in message news:49723137.2010...@bigskypenguin.com... Wow, Tony, do you think in the future you could try to express yourself with just a bit more civility and in a less condescending tone? Nathan expressed some thoughts he had, politely, and when out

[PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Nathan Rixham nrix...@gmail.com wrote in message news:49723749.4070...@gmail.com... Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message a: Optional Static Typing I'm finding an ever increasingly need to be able to staticly type properties, parameters, return types etc

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Jochem Maas joc...@iamjochem.com 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, Tony Marston t...@marston

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Skip Evans s...@bigskypenguin.com 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.org Peace

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
, then 10 other people and myself wouldn't have wasted a year of there lives on writing what could be unneeded code; I'm sure I'm not the only one in this position. If you spend a year writing useless code, then it's your fault, not PHPs. It's a bad workman who blames his tools. -- Tony Marston

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip Evans s...@bigskypenguin.com wrote in message news:49723137.2010...@bigskypenguin.com... Wow, Tony, do you think in the future you could try to express yourself with just a bit

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Nathan Rixham nrix...@gmail.com wrote in message news:49737051.9080...@gmail.com... Tony Marston wrote: Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip Evans s...@bigskypenguin.com wrote in message news:49723137.2010

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Stuart stut...@gmail.com wrote in message news:a5f019de0901181015g5e2db21fn2782839ab9648...@mail.gmail.com... 2009/1/18 Tony Marston t...@marston-home.demon.co.uk: Nathan Rixham nrix...@gmail.com wrote in message news:497366f5.2030...@gmail.com... Tony Marston wrote: Skip Evans s

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Stuart stut...@gmail.com wrote in message news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com... 2009/1/18 Tony Marston t...@marston-home.demon.co.uk: In case you have forgotten what this thread is about, the OP gave a list of suggested improvements to PHP and asked

Re: [PHP] Re: Opinions / Votes Needed

2009-01-18 Thread Tony Marston
Nathan Rixham nrix...@gmail.com wrote in message news:4973b738.3010...@gmail.com... Tony Marston wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0901181322i2a4cbfaam4d36eff843f42...@mail.gmail.com... 2009/1/18 Tony Marston t...@marston-home.demon.co.uk: In case you have

[PHP] Re: Opinions / Votes Needed

2009-01-17 Thread Tony Marston
. If your feeble brain can't handle the differences then I suggest you stick with your previous language and LEAVE PHP ALONE! That's just my opinion, of course. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Change tracking

2008-10-31 Thread Tony Marston
Your proposed solution is far too inflexible. Take a look at http://www.tonymarston.net/php-mysql/auditlog.html which describes a design with incorporates a fixed set of audit tables which can deal with logging changes to any number of application tables with any structure. -- Tony Marston

[PHP] How to launch a background task from a web page

2008-10-30 Thread Tony Marston
until the script finishes, which is not what I want. Is this possible in PHP? -- 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

Re: [PHP] Singletons

2008-10-20 Thread Tony Marston
that a singleton class has to inherit from another class? Why can't it be a separate class, or even a separate method in an existing class? If you use a static method then the activities of the constructor are irrelevant. -- Tony Marston http://www.tonymarston.net http://www.radicore.org

Re: [PHP] Anybody got a little spare time to help me out with a little OOP

2008-06-01 Thread Tony Marston
-mysql/good-bad-oop.html http://www.tonymarston.net/php-mysql/hero-or-heretic.html http://www.tonymarston.net/php-mysql/oop-for-heretics.html http://www.tonymarston.net/php-mysql/what-is-oop.html http://www.tonymarston.net/php-mysql/object-relational-mappers-are-evil.html -- Tony Marston http

[PHP] Can I install a newer version of php over an older version

2008-05-14 Thread Tony M
uninstall the php-5.2.5-win32-installer.msi version first. TIA Tony M

[PHP] Re: Where to start!

2008-05-05 Thread Tony Marston
the addition of an extra layer of software known as an Object Relational Mapper (ORM). I consider these to be EVIL, as discussed in http://www.tonymarston.net/php-mysql/object-relational-mappers-are-evil.html -- Tony Marston http://www.tonymarston.net http://www.radicore.org Jorge [EMAIL PROTECTED

Re: [PHP] Re: Where to start!

2008-05-05 Thread Tony Marston
or 6NF becomes too complex. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

  1   2   3   4   5   >