Re: What is the simplest/easiest 'wiki' to set up?

2013-03-31 Thread Tom Haws
The very easiest is to use a wiki farm like Wikia.  Personally, having used
phpWiki and Tikiwiki for years, I wouldn't waste my time installing
anything but Mediawiki, though that TiddlyWiki sounds attractive, as long
as it uses WikiCreole.

Tom

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Sun, Mar 31, 2013 at 4:19 PM, Alan Dayley  wrote:

> I give another vote for TiddlyWiki as a easy and powerful wiki. So cool
> that it is contained in a single file, data and logic. Easy to move around
> and just use on a local computer. Multiple people can use an instance of it
> by just putting it on a place all of them can access.
>
> Also look at the Google Sites feature for Google Apps for Your Domain, if
> you have that. It is a simple wiki that you don't have to host because
> Google is hosting it.
>
> http://www.wikispaces.com/ is also pretty good and has free options.
>
> Alan
>
>
>
> On Sun, Mar 31, 2013 at 3:31 PM, Kevin Brown wrote:
>
>>  It really depends on what you are looking for, feature-wise. I know of
>> one very simple wiki, TiddlyWiki, that is just a Javascript driven single
>> html file wiki. All the pages and links you are creating are called
>> Tiddlers and works like other Wikis, except it isn't meant for lots of
>> users editing and maintaining it. But makes for a great way to create a
>> journal or cross-linked log of stuff.
>>
>> MediaWiki (which is used to drive Wikipedia) isn't hard to setup at all,
>> but is extremely powerful and has tons of options for how to set stuff up.
>> Or you could go with an already built wiki system, like Wikia, where you
>> sign up for a subdomain and just use the software they install.
>>
>>  What is the simplest/easiest 'wiki' to set up?
>>>
>>> Just did a google search for: simple wiki software and among the
>>> millions of hits, these look potentially promising:
>>>
>>> - http://en.wikipedia.org/wiki/**Wiki
>>> - 
>>> http://c2.com/cgi/wiki?**SimplestOrEasiest
>>> - 
>>> http://c2.com/cgi/wiki?**EasiestInstallableWikiContest
>>> - 
>>> http://en.wikipedia.org/wiki/**List_of_wiki_software
>>> -
>>> http://www.clickonf5.org/7599/**10-free-opensource-wiki-**
>>> software-engine/
>>> -
>>> http://stackoverflow.com/**questions/7848899/really-**
>>> simple-wiki-platform
>>> - https://www.dokuwiki.org/**dokuwiki
>>>
>>> But before I begin to plow through these first hits, I hope the plug
>>> brain trust might point me in the right direction.  I do have have
>>> web hosted space where I can install something and I just want 4 or
>>> 5 people to be able to access a simple "page" where each participant
>>> can quickly and easily add to the content with simple text.
>>>
>>> Suggestions?
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>> --**-
>>> PLUG-discuss mailing list - 
>>> PLUG-discuss@lists.phxlinux.**org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss
>>>
>>
>> --**-
>> PLUG-discuss mailing list - 
>> PLUG-discuss@lists.phxlinux.**org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss
>>
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: joomla text book

2013-02-28 Thread Tom Haws
I love to do Amazon.com research, and I think these are the two to
look at based on Amazon reviews

Joomla! 2.5 Beginner's Guide

Joomla Explained

Of the two, the second is more heavily reviewed.

Tom
--
"To forgive is the highest, most beautiful form of love. In return,
you will receive untold peace and happiness." - Dr. Robert Muller


On Wed, Feb 27, 2013 at 11:18 PM, Michael Havens  wrote:
>
> I want a good joomla training manual I'll even pay for this. I found
> http://www.informit.com/store/official-joomla-book-9780321704214 but want
> recommendations from the educated.
> :-)~MIKE~(-:
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: joomla

2013-02-27 Thread Tom Haws
Very good.  Congratulations.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Wed, Feb 27, 2013 at 1:09 AM, Michael Havens  wrote:

> got it working! Thanks. I had to delete everything in the sites directory
> and unpack joomla again to trigger the reinstall of joomla but it's all
> working. yipee!
> :-)~MIKE~(-:
>
>
> On Tue, Feb 26, 2013 at 11:37 PM, Tom Haws  wrote:
>
>> Hmm.  These are always a headache to install when you are new.  You are
>> almost there now.  Did you set up the Joomla admin username and password
>> somewhere?  I assume those would be in the configuration.php file.  One
>> possible approach is to delete that file and see if you can trigger Joomla
>> to redo the installation now that you have the MySQL set up correctly.  It
>> wouldn't be a bad refresher.  ???
>>
>> Tp,
>>
>> --
>> "To forgive is the highest, most beautiful form of love. In return, you
>> will receive untold peace and happiness." - Dr. Robert Muller
>>
>>
>> On Tue, Feb 26, 2013 at 11:29 PM, Michael Havens wrote:
>>
>>> I found instructions to:
>>>
>>> Check your tmp and logs folder paths inside the main configuration.php
>>> file and make sure those folders are world writeable, 777 should work…
>>>
>>> And I changed the permissions of those two folders. Unfortunately, now
>>> when I load the admin page I am told:
>>>
>>> Warning
>>>
>>> Username and password do not match or you do not have an account yet.
>>>
>>> But I just got done creating it for sure!
>>>
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Tue, Feb 26, 2013 at 11:11 PM, Michael Havens wrote:
>>>
>>>> Thanks Tom. So I need to create a new MySL for every site.
>>>> :-)~MIKE~(-:
>>>>
>>>>
>>>> On Tue, Feb 26, 2013 at 11:09 PM, Tom Haws  wrote:
>>>>
>>>>> I'm no wizard at this, but I always start mysql like this:
>>>>>
>>>>> mysql -uroot -p
>>>>>
>>>>> Now, are you saying you gave Joomla the mysql root username and
>>>>> password to use?
>>>>>
>>>>> --
>>>>> "To forgive is the highest, most beautiful form of love. In return,
>>>>> you will receive untold peace and happiness." - Dr. Robert Muller
>>>>>
>>>>>
>>>>> On Tue, Feb 26, 2013 at 10:18 PM, Michael Havens wrote:
>>>>>
>>>>>> so is this for each 'site' I create? I did create a user and I am
>>>>>> told:
>>>>>>
>>>>>> An error occurred while trying to create the database
>>>>>> onlineworkfinder.us.
>>>>>> The user may not have enough privileges to create a database. The
>>>>>> required database may need to be created separately before you can 
>>>>>> install
>>>>>> Joomla!.
>>>>>>
>>>>>>  which says  he doesn't have the proper permissions.. But the
>>>>>> username is 'root'. Doesn't that mean he has permission to do anything?
>>>>>> Please, tell me what I need to do to give him the permissions he needs.
>>>>>>
>>>>>> Well, this is strange: I can start mysql  as my user but not with
>>>>>> sudo.
>>>>>>
>>>>>> $ sudo mysql
>>>>>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
>>>>>> password: NO)
>>>>>>
>>>>>> So what do I need to do?
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 26, 2013 at 6:45 PM, Tom Haws  wrote:
>>>>>>
>>>>>>> You do need to create a MySQL user and database for Joomla.  And you
>>>>>>> do need to give that user all the required permissions on the Joomla
>>>>>>> database.  Then all you have to tell Joomla is the name of the database 
>>>>>>> and
>>>>>>> the MySQL username and password.
>>>>>>>
>>>>>>> --
>>>>>>> "To forgive is the highest, most beautiful form of love. In return,
>>>>>>> you will receive untold peace and happiness." - Dr

Re: joomla

2013-02-26 Thread Tom Haws
Hmm.  These are always a headache to install when you are new.  You are
almost there now.  Did you set up the Joomla admin username and password
somewhere?  I assume those would be in the configuration.php file.  One
possible approach is to delete that file and see if you can trigger Joomla
to redo the installation now that you have the MySQL set up correctly.  It
wouldn't be a bad refresher.  ???

Tp,

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Tue, Feb 26, 2013 at 11:29 PM, Michael Havens  wrote:

> I found instructions to:
>
> Check your tmp and logs folder paths inside the main configuration.php
> file and make sure those folders are world writeable, 777 should work…
>
> And I changed the permissions of those two folders. Unfortunately, now
> when I load the admin page I am told:
>
> Warning
>
> Username and password do not match or you do not have an account yet.
>
> But I just got done creating it for sure!
>
> :-)~MIKE~(-:
>
>
> On Tue, Feb 26, 2013 at 11:11 PM, Michael Havens  wrote:
>
>> Thanks Tom. So I need to create a new MySL for every site.
>> :-)~MIKE~(-:
>>
>>
>> On Tue, Feb 26, 2013 at 11:09 PM, Tom Haws  wrote:
>>
>>> I'm no wizard at this, but I always start mysql like this:
>>>
>>> mysql -uroot -p
>>>
>>> Now, are you saying you gave Joomla the mysql root username and password
>>> to use?
>>>
>>> --
>>> "To forgive is the highest, most beautiful form of love. In return, you
>>> will receive untold peace and happiness." - Dr. Robert Muller
>>>
>>>
>>> On Tue, Feb 26, 2013 at 10:18 PM, Michael Havens wrote:
>>>
>>>> so is this for each 'site' I create? I did create a user and I am told:
>>>>
>>>> An error occurred while trying to create the database
>>>> onlineworkfinder.us.
>>>> The user may not have enough privileges to create a database. The
>>>> required database may need to be created separately before you can install
>>>> Joomla!.
>>>>
>>>>  which says  he doesn't have the proper permissions.. But the username
>>>> is 'root'. Doesn't that mean he has permission to do anything? Please, tell
>>>> me what I need to do to give him the permissions he needs.
>>>>
>>>> Well, this is strange: I can start mysql  as my user but not with sudo.
>>>>
>>>> $ sudo mysql
>>>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
>>>> password: NO)
>>>>
>>>> So what do I need to do?
>>>> :-)~MIKE~(-:
>>>>
>>>>
>>>> On Tue, Feb 26, 2013 at 6:45 PM, Tom Haws  wrote:
>>>>
>>>>> You do need to create a MySQL user and database for Joomla.  And you
>>>>> do need to give that user all the required permissions on the Joomla
>>>>> database.  Then all you have to tell Joomla is the name of the database 
>>>>> and
>>>>> the MySQL username and password.
>>>>>
>>>>> --
>>>>> "To forgive is the highest, most beautiful form of love. In return,
>>>>> you will receive untold peace and happiness." - Dr. Robert Muller
>>>>>
>>>>>
>>>>> On Tue, Feb 26, 2013 at 5:49 PM, Michael Havens wrote:
>>>>>
>>>>>> I think I know what I need to do add my user to the mysql group
>>>>>> (or whatever it is called).
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 26, 2013 at 5:28 PM, Michael Havens wrote:
>>>>>>
>>>>>>> so how do I set it up correctly? I mean it was working!
>>>>>>> :-)~MIKE~(-:
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Feb 26, 2013 at 3:47 PM, Michael Havens wrote:
>>>>>>>
>>>>>>>> but before I created the link it went to the admin page.
>>>>>>>> :-)~MIKE~(-:
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Feb 26, 2013 at 3:41 PM, keith smith >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Sounds like your install is not installed correctly.
>>>>>>>&g

Re: joomla

2013-02-26 Thread Tom Haws
I'm no wizard at this, but I always start mysql like this:

mysql -uroot -p

Now, are you saying you gave Joomla the mysql root username and password to
use?

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Tue, Feb 26, 2013 at 10:18 PM, Michael Havens  wrote:

> so is this for each 'site' I create? I did create a user and I am told:
>
> An error occurred while trying to create the database onlineworkfinder.us.
> The user may not have enough privileges to create a database. The required
> database may need to be created separately before you can install Joomla!.
>
>  which says  he doesn't have the proper permissions.. But the username is
> 'root'. Doesn't that mean he has permission to do anything? Please, tell me
> what I need to do to give him the permissions he needs.
>
> Well, this is strange: I can start mysql  as my user but not with sudo.
>
> $ sudo mysql
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)
>
> So what do I need to do?
> :-)~MIKE~(-:
>
>
> On Tue, Feb 26, 2013 at 6:45 PM, Tom Haws  wrote:
>
>> You do need to create a MySQL user and database for Joomla.  And you do
>> need to give that user all the required permissions on the Joomla
>> database.  Then all you have to tell Joomla is the name of the database and
>> the MySQL username and password.
>>
>> --
>> "To forgive is the highest, most beautiful form of love. In return, you
>> will receive untold peace and happiness." - Dr. Robert Muller
>>
>>
>> On Tue, Feb 26, 2013 at 5:49 PM, Michael Havens  wrote:
>>
>>> I think I know what I need to do add my user to the mysql group (or
>>> whatever it is called).
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Tue, Feb 26, 2013 at 5:28 PM, Michael Havens wrote:
>>>
>>>> so how do I set it up correctly? I mean it was working!
>>>> :-)~MIKE~(-:
>>>>
>>>>
>>>> On Tue, Feb 26, 2013 at 3:47 PM, Michael Havens wrote:
>>>>
>>>>> but before I created the link it went to the admin page.
>>>>> :-)~MIKE~(-:
>>>>>
>>>>>
>>>>> On Tue, Feb 26, 2013 at 3:41 PM, keith smith wrote:
>>>>>
>>>>>>
>>>>>> Sounds like your install is not installed correctly.
>>>>>>
>>>>>> 
>>>>>> Keith Smith
>>>>>>
>>>>>> --- On *Tue, 2/26/13, Michael Havens * wrote:
>>>>>>
>>>>>>
>>>>>> From: Michael Havens 
>>>>>> Subject: Re: joomla
>>>>>> To: "Main PLUG discussion list" 
>>>>>> Date: Tuesday, February 26, 2013, 3:05 PM
>>>>>>
>>>>>>
>>>>>> I've already installed it on my local machine. The reason I'm
>>>>>> thinking I need a database for each webpage is that I created a link to 
>>>>>> the
>>>>>> webpage's location in /var/www in an experiment to be able to not store 
>>>>>> the
>>>>>> page in /var/www but rather in ~/Documents/ . Then when I went to 
>>>>>> the
>>>>>> admin page it wanted to setup joomla again.
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 26, 2013 at 6:55 AM, keith smith 
>>>>>> http://mc/compose?to=klsmith2...@yahoo.com>
>>>>>> > wrote:
>>>>>>
>>>>>>
>>>>>> Mike,
>>>>>>
>>>>>> It appears you are thinking a DB is a physical thing like a static
>>>>>> webpage.  It is physical in that it resides on your file system, however 
>>>>>> it
>>>>>> is not like a static webpage.
>>>>>>
>>>>>> Take a look at these tutorials
>>>>>> http://dev.mysql.com/doc/refman/5.6/en/tutorial.html.  They should
>>>>>> help you understand the what and how of databases, specifically MySql.
>>>>>>
>>>>>> Here is some PHP info on how to work with MySql databases
>>>>>> http://www.php.net/manual/en/set.mysqlinfo.php.
>>>>>>
>>>>>> I would recommend understanding the basics before trying to install
>>>>>

Re: joomla

2013-02-26 Thread Tom Haws
You do need to create a MySQL user and database for Joomla.  And you do
need to give that user all the required permissions on the Joomla
database.  Then all you have to tell Joomla is the name of the database and
the MySQL username and password.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Tue, Feb 26, 2013 at 5:49 PM, Michael Havens  wrote:

> I think I know what I need to do add my user to the mysql group (or
> whatever it is called).
> :-)~MIKE~(-:
>
>
> On Tue, Feb 26, 2013 at 5:28 PM, Michael Havens  wrote:
>
>> so how do I set it up correctly? I mean it was working!
>> :-)~MIKE~(-:
>>
>>
>> On Tue, Feb 26, 2013 at 3:47 PM, Michael Havens  wrote:
>>
>>> but before I created the link it went to the admin page.
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Tue, Feb 26, 2013 at 3:41 PM, keith smith wrote:
>>>

 Sounds like your install is not installed correctly.

 
 Keith Smith

 --- On *Tue, 2/26/13, Michael Havens * wrote:


 From: Michael Havens 
 Subject: Re: joomla
 To: "Main PLUG discussion list" 
 Date: Tuesday, February 26, 2013, 3:05 PM


 I've already installed it on my local machine. The reason I'm thinking
 I need a database for each webpage is that I created a link to the
 webpage's location in /var/www in an experiment to be able to not store the
 page in /var/www but rather in ~/Documents/ . Then when I went to the
 admin page it wanted to setup joomla again.
 :-)~MIKE~(-:


 On Tue, Feb 26, 2013 at 6:55 AM, keith smith 
 http://mc/compose?to=klsmith2...@yahoo.com>
 > wrote:


 Mike,

 It appears you are thinking a DB is a physical thing like a static
 webpage.  It is physical in that it resides on your file system, however it
 is not like a static webpage.

 Take a look at these tutorials
 http://dev.mysql.com/doc/refman/5.6/en/tutorial.html.  They should
 help you understand the what and how of databases, specifically MySql.

 Here is some PHP info on how to work with MySql databases
 http://www.php.net/manual/en/set.mysqlinfo.php.

 I would recommend understanding the basics before trying to install
 Joomla on your local LAMP install.



 
 Keith Smith

 --- On *Tue, 2/26/13, Michael Havens 
 http://mc/compose?to=bmi...@gmail.com>
 >* wrote:


 From: Michael Havens 
 http://mc/compose?to=bmi...@gmail.com>
 >
 Subject: Re: joomla
 To: "Main PLUG discussion list" 
 http://mc/compose?to=plug-discuss@lists.phxlinux.org>
 >
 Date: Tuesday, February 26, 2013, 12:27 AM



 I was thinking. Do you need to create a new database for every new
 website? If so I think I need to chown the database or maybe add it to a
 group.
 :-)~MIKE~(-:


 On Tue, Feb 26, 2013 at 12:17 AM, Michael Havens 
 http://mc/compose?to=bmi...@gmail.com>
 > wrote:

 why is it asking for database info?! oh bother.
 well I tried to create a database but this is the error it gives:

 An error occurred while trying to create the database
 onlineworkfinder.us.
 The user may not have enough privileges to create a database. The
 required database may need to be created separately before you can install
 Joomla!.

 So please, what do I need to do. Should I chown something? If so, what?
 :-)~MIKE~(-:



 -Inline Attachment Follows-

 ---
 PLUG-discuss mailing list - 
 PLUG-discuss@lists.phxlinux.org
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.phxlinux.org/mailman/listinfo/plug-discuss


 ---
 PLUG-discuss mailing list - 
 PLUG-discuss@lists.phxlinux.org
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.phxlinux.org/mailman/listinfo/plug-discuss



 -Inline Attachment Follows-

 ---
 PLUG-discuss mailing list - 
 PLUG-discuss@lists.phxlinux.org
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.phxlinux.org/mailman/listinfo/plug-discuss


 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>>
>>>
>>
>
> 

Re: Question on Cable versus DSL

2013-02-07 Thread Tom Haws
Remind me not to invite you to my house where we are cruising at 512kbps on
the Cox Value package $25 per month.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Thu, Feb 7, 2013 at 4:24 PM, Richard Wilson  wrote:

> I am considering changing from cable (expensive here in Apache Junction)
> to Century Link DSL (formerly Qwest) which now claims
> (from their website) that they can provide 12Mbps to my house. Last time I
> checked a few months ago, I couldn't get 12Mbps and wasn't
> willing to downgrade to their basic 1.5Mbps.  With my Cable provider
> (Mediacom) I am seeing about 11Mbps throughput.
>
> Can anyone share anything positive or negative about such a move? The one
> time I used DSL (7Mbps) at my brother's house it worked fine for
> me, but I was travelling and had only my laptop with me.  Here at home I
> have a lot more hitting the line, plus 3 teenagers...
>
> Thanks in advance,
>
> Richard Wilson
> --**-
> PLUG-discuss mailing list - 
> PLUG-discuss@lists.phxlinux.**org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: torrent

2013-01-25 Thread Tom Haws
Back to the original question, downloading from a torrent is better because
it doesn't swamp the "source" server.  If you have a feeble server, but a
high-demand and large file to serve, providing a torrent download shifts
the server load from yourself to your users, where they nearly all download
from each other, and all you do is tell them where to find each other.

As a user, downloading a torrent can be better because that feeble server
in the example above may be crawling along at a snail's pace, while the
peer-to-peer download torrent is crusing at mach speed.

With a torrent, the more popular a file, the better the results.

Tom

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Fri, Jan 25, 2013 at 10:45 AM, Michael Havens  wrote:

> how is downloading from a torrent better than just from a single location?
> :-)~MIKE~(-:
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: woman I know needs help

2013-01-03 Thread Tom Haws
I might be able to help, but I don't know that I am very qualified.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Thu, Jan 3, 2013 at 10:14 AM, Michael Havens  wrote:

> What time?
> Could someone contact her and help her partition her drive in preperation?
> :-)~MIKE~(-:
>
>
> On Thu, Jan 3, 2013 at 10:05 AM, Dazed_75  wrote:
>
>> *Location : *The University of Advancing Technology, 2625 W. Baseline
>> Road Tempe, AZ 85283 (Between 48th & Fry's)
>>
>> That's on the south side of the street.  There is parking on both sides
>> (east and west).  Enter from the south side of the building (between the
>> classroom building and the dormitories).
>>
>> Larry
>>
>>
>> On Thu, Jan 3, 2013 at 9:22 AM, Michael Havens  wrote:
>>
>>> that is exactly what I was thinking. She doesn't have a car. Could
>>> someone give me the address of it? She will also need help partitioning her
>>> drive. I would do it but I live in cottonwood.
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Thu, Jan 3, 2013 at 8:33 AM, Dazed_75  wrote:
>>>
 Just realized people might expect me to chime in here since I run the
 installfests for PLUG.  They are right about it being a good place for here
 (even if she just wants to talk about it).  There will be people there that
 can help her but I will be on an airplane so it will not be me this time.


 On Thu, Jan 3, 2013 at 5:33 AM, Stephen  wrote:

> I think the install fest would be a good idea as well.
> On Jan 3, 2013 12:09 AM, "Brian Cluff"  wrote:
>
>> Can you get her to come out to the installfest this Saturday?  There
>> will be multiple people there that could get her and her friend all set 
>> up.
>>
>> Brian
>>
>> On 01/03/2013 12:02 AM, Michael Havens wrote:
>>
>>> I know a lady who is not a gamer and is having problems with her
>>> computer. I think she is a good candidate for Linux. Could someone
>>> contact her and see if this is a possibility? She lives near main and
>>> extension in mesa. She also has a friend in a similar situation.
>>> :-)~MIKE~(-:
>>>
>>>
>>> --**-
>>> PLUG-discuss mailing list - 
>>> PLUG-discuss@lists.phxlinux.**org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss
>>>
>>>
>> --**-
>> PLUG-discuss mailing list - 
>> PLUG-discuss@lists.phxlinux.**org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss
>>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



 --
 Dazed_75 a.k.a. Larry

 Please protect my address like I protect yours. When sending messages
 to multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
 from a forwarded message body before clicking Send.

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>>
>>>
>>> ---
>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> Dazed_75 a.k.a. Larry
>>
>> Please protect my address like I protect yours. When sending messages to
>> multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
>> from a forwarded message body before clicking Send.
>>
>> ---
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Questions about Working with (or around) Unity in Ubuntu 12.04

2012-12-18 Thread Tom Haws
Hooray!  I installed gnome-shell from the Software Center.  I forgot this
is why I waited for 12.04 to upgrade in the first place.  I'm back in
Gnome!

Major sigh of relief.

Tom


--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller



On Tue, Dec 18, 2012 at 2:59 PM, Tom Haws  wrote:

> That icon in the Dashboard opened the Desktop folder, but didn't Show
> Desktop, and I couldn't drag it to the Launcher.  I'm back at Google vainly
> searching for a solution as in the past.
>
> --
> "To forgive is the highest, most beautiful form of love. In return, you
> will receive untold peace and happiness." - Dr. Robert Muller
>
>
>
> On Tue, Dec 18, 2012 at 2:28 PM, Ted Gould  wrote:
>
>> **
>> On Tue, 2012-12-18 at 14:16 -0700, Tom Haws wrote:
>>
>> On Tue, Dec 18, 2012 at 1:31 PM, Ted Gould  wrote:
>>
>>   2.  I cannot find any way to Show the Desktop.  I have never been able
>> to do this in Unity (or in Gnome on Linux Mint).
>>
>>
>>
>>   It's on the Alt+Tab switcher, first item.
>>
>>
>>
>>  I am not seeing it.
>>
>>
>> Here's a screenshot on my 
>> launcher<http://ubuntuone.com/1Ie7crg0GJIHlWCX51hWz8>.
>> Unfortunately I have a mostly black background right now, so it's harder to
>> see.
>>
>> Ted
>>
>> ---
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Questions about Working with (or around) Unity in Ubuntu 12.04

2012-12-18 Thread Tom Haws
That icon in the Dashboard opened the Desktop folder, but didn't Show
Desktop, and I couldn't drag it to the Launcher.  I'm back at Google vainly
searching for a solution as in the past.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller



On Tue, Dec 18, 2012 at 2:28 PM, Ted Gould  wrote:

> **
> On Tue, 2012-12-18 at 14:16 -0700, Tom Haws wrote:
>
> On Tue, Dec 18, 2012 at 1:31 PM, Ted Gould  wrote:
>
>   2.  I cannot find any way to Show the Desktop.  I have never been able
> to do this in Unity (or in Gnome on Linux Mint).
>
>
>
>   It's on the Alt+Tab switcher, first item.
>
>
>
>  I am not seeing it.
>
>
> Here's a screenshot on my 
> launcher<http://ubuntuone.com/1Ie7crg0GJIHlWCX51hWz8>.
> Unfortunately I have a mostly black background right now, so it's harder to
> see.
>
> Ted
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Questions about Working with (or around) Unity in Ubuntu 12.04

2012-12-18 Thread Tom Haws
 On Tue, Dec 18, 2012 at 1:31 PM, Ted Gould  wrote:

> **
>
> This is probably caused by using virtual box, in that the launcher in
> 12.04 behaves based on how hard you push it open.  In your case that's
> causing the pointer to leave the window.  I'd probably just recommend
> leaving it open.  You can adjust that setting and also the reveal
> sensitivity in the "Appearance" control panel on the "Behavior" tab.
>

You are my hero, Ted.  Tweaking doesn't work, but leaving it open does!

>
>
>  2.  I cannot find any way to Show the Desktop.  I have never been able to
> do this in Unity (or in Gnome on Linux Mint).
>
>
> It's on the Alt+Tab switcher, first item.
>

I am not seeing it.
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Questions about Working with (or around) Unity in Ubuntu 12.04

2012-12-18 Thread Tom Haws
Even though I have no respect for Ubuntu's Unity desktop, I don't want to
make this a gripe thread.  I have Ubuntu 12.04 installed on a Windows 7
VirtualBox machine, and I need to make it work as productively as I can for
the time being.  That said, I have a few questions:

1.  The Launcher is not rolling out for me since I installed 12.04.  It
previously would roll out when my mouse was near the left side of the
desktop.  To access the Launcher I now have to press the Windows key on my
keyboard.

2.  I cannot find any way to Show the Desktop.  I have never been able to
do this in Unity (or in Gnome on Linux Mint).

Can anybody help me with these problems, or give me a nice way to move away
from Unity Desktop in Ubuntu 12.04?  I suppose I would want to go back to
the old Ubuntu default of Gnome.

Tom
--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: OT: Figuring Sales Tax for Online Sales

2012-12-12 Thread Tom Haws
What a coincidence.  We are doing the same thing this week at Pristine
Auction.  We think we've found the solution in Avalara.  Essentially, it's
a complicated thing, and you need to pay for an API calculating service.
At least that's what our team has determined.

To the others on the list, can you comment also for both Keith and me on
sales tax services like Avalara?

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller



On Wed, Dec 12, 2012 at 7:30 AM, keith smith  wrote:

>
> Hi,
>
> I support a California business who does most of it's business online.  I
> need to figure out how to determine the sales tax rates for California
> only.  As things change all online sales may be taxed soon so I need to
> prepare for that as well.
>
> I know I am not the first person to have to deal with collecting sales tax
> from online sales.  I do not want to build anything that would require us
> to maintain tax tables or to decipher who is in what jurisdiction.
>
> I've done a little research and find little in the way of an affordable
> subscription, or a government API.  As this campaign to get all online
> retailers to pay local sales tax continues, I'd hate to have to maintain 50
> or more API's just to be able to satisfy the governments requirement that
> we collect sales tax.
>
> Currently we collect sales tax based on the highest rate for those who
> ship using a California address. Our system allows for one tax rate at the
> state level.
>
> Anyone have any experience with collecting sales tax on line?
>
> Thank you in advance for your help!!
>
> 
> Keith Smith
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: OT: CodeIgniter Routing

2012-12-02 Thread Tom Haws
I have a question/thought.

If a lot of the CRUD is repetitive (similar table structures), would it be
appropriate to create a models/generic_model.php that has the generic CRUD
functions/SQL and a set_table method or some other way of passing it a
table name to enhance DRY programming?

Tom
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: OT: CodeIgniter Routing

2012-11-30 Thread Tom Haws
Totally.  So the controller tries to do nothing more than pass POST
variables to the model functions and pass result arrays to the views.

> 
>
> --- On *Fri, 11/30/12, Eric Cope 
> http://mc/compose?to=eric.c...@gmail.com>
> >* wrote:
>
>
> From: Eric Cope http://mc/compose?to=eric.c...@gmail.com>
> >
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 3:16 PM
>
>
> I usually do logic in the model, unless it might be used across models,
> then I use a library.
>
> Eric
>
>
> On Fri, Nov 30, 2012 at 3:05 PM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> So your suggesting the Model process the POST data and everything.  This
> is were the business logic should go?
>
>
> --------
> Keith Smith
>
> --- On *Fri, 11/30/12, Tom Haws 
> http://mc/compose?to=tom.h...@gmail.com>
> >* wrote:
>
>
> From: Tom Haws http://mc/compose?to=tom.h...@gmail.com>
> >
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 2:00 PM
>
>
> Keith,
>
> What I'm maybe not understanding is why you are putting 100 lines of CRUD
> into the controllers.  We have all CRUD functions in the models, and we
> simply call them in the controller functions, so that they typically are
> much shorter than 100 lines.
>
> So what I would expect is 100 model files and one controller file with a
> function each for 100 pages, assuming you want to organize it that way.  I
> think another way might be to make /cp a module with each cp/page1
> cp/page2, etc a controller file with mainly only an index function in it.
>
> Tom
> Gilbert
>
> --
> "To forgive is the highest, most beautiful form of love. In return, you
> will receive untold peace and happiness." - Dr. Robert Muller
>
>
> On Fri, Nov 30, 2012 at 1:41 PM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> Thank Tom,
>
> I'm already following the M-V-C like you outlined.  The database is
> normalized so no tables can be combined.
>
> For one table the controller contains about 100 lines of code for
> add/edit/delete/save/list.  For 50 tables that would be 5000 lines of code
> in one controller.
>
> If I can figure out the routing, I can create one controller per table.
> That is the optimum for me.  Otherwise I will use includes with a switch to
> determine what code needs to be included and run.
>
> Thanks again!!
>
>
>
>
> 
> Keith Smith
>
> --- On *Fri, 11/30/12, Tom Haws 
> http://mc/compose?to=tom.h...@gmail.com>
> >* wrote:
>
>
> From: Tom Haws http://mc/compose?to=tom.h...@gmail.com>
> >
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 12:13 PM
>
>
> Keith,
>
> Remember the MVC motto "Keep models fat.  Keep controllers skinny."
> Ideally the controller is nothing but a butler or a receptionist who knows
> who does what and where to send you for what.
>
> Here's what would be the standard procedure for the Tempe, Arizona Valley
> MedTrans team.
>
> 1.  For every cp/, cp/page1, cp/page2, etc, have a function index(),
> function page1() function page2(), etc in controllers/cp.php.
> 2.  For every table (or logical "item" of business) such as article,
> user_account, inventory_item, bid, shipment, etc, have a file
> models/article_model.php, models/user_account_model.php,
> models/inventory_item_model.php, models/bid_model.php,
> models/shipment_model.php.
> 3.  Inside every ___model.php file, have functions like
> get_user_account($id), change_user_password($user_id, $new_password),
> get_shipments_by_user($user_id).
>
> Is it possible some of your tables might be able to be combined?  Would
> you be interested in sharing part of the db schema?
>
> --
> "To forgive is the highest, most beautiful form of love. In return, you
> will receive untold peace and happiness." - Dr. Robert Muller
>
>
> On Fri, Nov 30, 2012 at 11:20 AM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> Ok,  I understand.  What you are talking about is what I would like to
> do.  However When I drop cp.php in the controllers directory and drop
> pages.php in the controllers/c

Re: OT: CodeIgniter Routing

2012-11-30 Thread Tom Haws
In other words, wouldn't you have the model functions build the data arrays
the way the views are going to need them, then call that output from the
controllers and send it to the views?

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Fri, Nov 30, 2012 at 2:00 PM, Tom Haws  wrote:

> Keith,
>
> What I'm maybe not understanding is why you are putting 100 lines of CRUD
> into the controllers.  We have all CRUD functions in the models, and we
> simply call them in the controller functions, so that they typically are
> much shorter than 100 lines.
>
> So what I would expect is 100 model files and one controller file with a
> function each for 100 pages, assuming you want to organize it that way.  I
> think another way might be to make /cp a module with each cp/page1
> cp/page2, etc a controller file with mainly only an index function in it.
>
> Tom
> Gilbert
>
> --
> "To forgive is the highest, most beautiful form of love. In return, you
> will receive untold peace and happiness." - Dr. Robert Muller
>
>
> On Fri, Nov 30, 2012 at 1:41 PM, keith smith wrote:
>
>>
>> Thank Tom,
>>
>> I'm already following the M-V-C like you outlined.  The database is
>> normalized so no tables can be combined.
>>
>> For one table the controller contains about 100 lines of code for
>> add/edit/delete/save/list.  For 50 tables that would be 5000 lines of code
>> in one controller.
>>
>> If I can figure out the routing, I can create one controller per table.
>> That is the optimum for me.  Otherwise I will use includes with a switch to
>> determine what code needs to be included and run.
>>
>> Thanks again!!
>>
>>
>>
>>
>> 
>> Keith Smith
>>
>> --- On *Fri, 11/30/12, Tom Haws * wrote:
>>
>>
>> From: Tom Haws 
>> Subject: Re: OT: CodeIgniter Routing
>> To: "Main PLUG discussion list" 
>> Date: Friday, November 30, 2012, 12:13 PM
>>
>>
>> Keith,
>>
>> Remember the MVC motto "Keep models fat.  Keep controllers skinny."
>> Ideally the controller is nothing but a butler or a receptionist who knows
>> who does what and where to send you for what.
>>
>> Here's what would be the standard procedure for the Tempe, Arizona Valley
>> MedTrans team.
>>
>> 1.  For every cp/, cp/page1, cp/page2, etc, have a function index(),
>> function page1() function page2(), etc in controllers/cp.php.
>> 2.  For every table (or logical "item" of business) such as article,
>> user_account, inventory_item, bid, shipment, etc, have a file
>> models/article_model.php, models/user_account_model.php,
>> models/inventory_item_model.php, models/bid_model.php,
>> models/shipment_model.php.
>> 3.  Inside every ___model.php file, have functions like
>> get_user_account($id), change_user_password($user_id, $new_password),
>> get_shipments_by_user($user_id).
>>
>> Is it possible some of your tables might be able to be combined?  Would
>> you be interested in sharing part of the db schema?
>>
>> --
>> "To forgive is the highest, most beautiful form of love. In return, you
>> will receive untold peace and happiness." - Dr. Robert Muller
>>
>>
>> On Fri, Nov 30, 2012 at 11:20 AM, keith smith 
>> http://mc/compose?to=klsmith2...@yahoo.com>
>> > wrote:
>>
>>
>> Ok,  I understand.  What you are talking about is what I would like to
>> do.  However When I drop cp.php in the controllers directory and drop
>> pages.php in the controllers/cp directory,
>>
>> /cp/pages uses the cp.php controller.  If this is what you suggested
>> earlier, I must have it mis configured.
>>
>> I appreciate your help!!
>>
>> 
>> Keith Smith
>>
>> --- On *Fri, 11/30/12, Eric Cope 
>> http://mc/compose?to=eric.c...@gmail.com>
>> >* wrote:
>>
>>
>> From: Eric Cope 
>> http://mc/compose?to=eric.c...@gmail.com>
>> >
>> Subject: Re: OT: CodeIgniter Routing
>> To: "Main PLUG discussion list" 
>> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
>> >
>> Date: Friday, November 30, 2012, 11:12 AM
>>
>>
>> You can do it that way. I always found that the CRUD wasn't just a simple
>> CRUD. The form validation was slightly different. The data manipulation
>> between models and views was slightly different.
>> Therefore, I b

Re: OT: CodeIgniter Routing

2012-11-30 Thread Tom Haws
Keith,

What I'm maybe not understanding is why you are putting 100 lines of CRUD
into the controllers.  We have all CRUD functions in the models, and we
simply call them in the controller functions, so that they typically are
much shorter than 100 lines.

So what I would expect is 100 model files and one controller file with a
function each for 100 pages, assuming you want to organize it that way.  I
think another way might be to make /cp a module with each cp/page1
cp/page2, etc a controller file with mainly only an index function in it.

Tom
Gilbert

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Fri, Nov 30, 2012 at 1:41 PM, keith smith  wrote:

>
> Thank Tom,
>
> I'm already following the M-V-C like you outlined.  The database is
> normalized so no tables can be combined.
>
> For one table the controller contains about 100 lines of code for
> add/edit/delete/save/list.  For 50 tables that would be 5000 lines of code
> in one controller.
>
> If I can figure out the routing, I can create one controller per table.
> That is the optimum for me.  Otherwise I will use includes with a switch to
> determine what code needs to be included and run.
>
> Thanks again!!
>
>
>
>
> ----
> Keith Smith
>
> --- On *Fri, 11/30/12, Tom Haws * wrote:
>
>
> From: Tom Haws 
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> Date: Friday, November 30, 2012, 12:13 PM
>
>
> Keith,
>
> Remember the MVC motto "Keep models fat.  Keep controllers skinny."
> Ideally the controller is nothing but a butler or a receptionist who knows
> who does what and where to send you for what.
>
> Here's what would be the standard procedure for the Tempe, Arizona Valley
> MedTrans team.
>
> 1.  For every cp/, cp/page1, cp/page2, etc, have a function index(),
> function page1() function page2(), etc in controllers/cp.php.
> 2.  For every table (or logical "item" of business) such as article,
> user_account, inventory_item, bid, shipment, etc, have a file
> models/article_model.php, models/user_account_model.php,
> models/inventory_item_model.php, models/bid_model.php,
> models/shipment_model.php.
> 3.  Inside every ___model.php file, have functions like
> get_user_account($id), change_user_password($user_id, $new_password),
> get_shipments_by_user($user_id).
>
> Is it possible some of your tables might be able to be combined?  Would
> you be interested in sharing part of the db schema?
>
> --
> "To forgive is the highest, most beautiful form of love. In return, you
> will receive untold peace and happiness." - Dr. Robert Muller
>
>
> On Fri, Nov 30, 2012 at 11:20 AM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> Ok,  I understand.  What you are talking about is what I would like to
> do.  However When I drop cp.php in the controllers directory and drop
> pages.php in the controllers/cp directory,
>
> /cp/pages uses the cp.php controller.  If this is what you suggested
> earlier, I must have it mis configured.
>
> I appreciate your help!!
>
> 
> Keith Smith
>
> --- On *Fri, 11/30/12, Eric Cope 
> http://mc/compose?to=eric.c...@gmail.com>
> >* wrote:
>
>
> From: Eric Cope http://mc/compose?to=eric.c...@gmail.com>
> >
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 11:12 AM
>
>
> You can do it that way. I always found that the CRUD wasn't just a simple
> CRUD. The form validation was slightly different. The data manipulation
> between models and views was slightly different.
> Therefore, I built individual controllers, with a database table having
> its own model extended from MY_Model extended from CI_Model. This allowed
> me to put all of the common model functions in one file, test it, then
> extend it further for other additional functionality.
>
> The CI style is less about doing it a specific way. Its not like Rails
> where there is ONLY one way to do things. CI is flexible.
>
> Does that help?
>
> Eric
>
>
> On Fri, Nov 30, 2012 at 11:04 AM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> Actually I have 50+ tables to deal with.  That number will grow.  I'm not
> following what you are suggesting - "abstracting the models into a
> MY_Model.php core file"?
>
> I'm thinking one controller for the control panel, and depending on what
&

Re: OT: CodeIgniter Routing

2012-11-30 Thread Tom Haws
Keith,

Remember the MVC motto "Keep models fat.  Keep controllers skinny."
Ideally the controller is nothing but a butler or a receptionist who knows
who does what and where to send you for what.

Here's what would be the standard procedure for the Tempe, Arizona Valley
MedTrans team.

1.  For every cp/, cp/page1, cp/page2, etc, have a function index(),
function page1() function page2(), etc in controllers/cp.php.
2.  For every table (or logical "item" of business) such as article,
user_account, inventory_item, bid, shipment, etc, have a file
models/article_model.php, models/user_account_model.php,
models/inventory_item_model.php, models/bid_model.php,
models/shipment_model.php.
3.  Inside every ___model.php file, have functions like
get_user_account($id), change_user_password($user_id, $new_password),
get_shipments_by_user($user_id).

Is it possible some of your tables might be able to be combined?  Would you
be interested in sharing part of the db schema?

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Fri, Nov 30, 2012 at 11:20 AM, keith smith  wrote:

>
> Ok,  I understand.  What you are talking about is what I would like to
> do.  However When I drop cp.php in the controllers directory and drop
> pages.php in the controllers/cp directory,
>
> /cp/pages uses the cp.php controller.  If this is what you suggested
> earlier, I must have it mis configured.
>
> I appreciate your help!!
>
> 
> Keith Smith
>
> --- On *Fri, 11/30/12, Eric Cope * wrote:
>
>
> From: Eric Cope 
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> Date: Friday, November 30, 2012, 11:12 AM
>
>
> You can do it that way. I always found that the CRUD wasn't just a simple
> CRUD. The form validation was slightly different. The data manipulation
> between models and views was slightly different.
> Therefore, I built individual controllers, with a database table having
> its own model extended from MY_Model extended from CI_Model. This allowed
> me to put all of the common model functions in one file, test it, then
> extend it further for other additional functionality.
>
> The CI style is less about doing it a specific way. Its not like Rails
> where there is ONLY one way to do things. CI is flexible.
>
> Does that help?
>
> Eric
>
>
> On Fri, Nov 30, 2012 at 11:04 AM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> Actually I have 50+ tables to deal with.  That number will grow.  I'm not
> following what you are suggesting - "abstracting the models into a
> MY_Model.php core file"?
>
> I'm thinking one controller for the control panel, and depending on what
> the second segment is (second segment is the table name) then pull in the
> code for managing the one table.  That way I have one controller and 50
> includes that each contain the CRUD for it's own table.
>
> Any thoughts?
>
> I not finding much in the way of what the CI style of development is.
>
> 
> Keith Smith
>
> --- On *Fri, 11/30/12, Eric Cope 
> http://mc/compose?to=eric.c...@gmail.com>
> >* wrote:
>
>
> From: Eric Cope http://mc/compose?to=eric.c...@gmail.com>
> >
>
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 10:47 AM
>
>
> if you are adding 30+ controllers just for CRUD, think about abstracting
> the models into a MY_Model.php core file. Keep it DRY, it makes testing
> easier too.
>
> Eric
>
>
> On Fri, Nov 30, 2012 at 10:33 AM, keith smith 
> http://mc/compose?to=klsmith2...@yahoo.com>
> > wrote:
>
>
> If I can avoid modifying the routing.php script that would be great.
>
> I watched both video's that were on the old CI site, read lots of posts on
> Google, and have a book that I read cover to cover.
>
> I have not found any real in-dept info on CI routing.
>
> Thanks for your help!!
>
> 
> Keith Smith
>
> --- On *Fri, 11/30/12, Tom Haws 
> http://mc/compose?to=tom.h...@gmail.com>
> >* wrote:
>
>
> From: Tom Haws http://mc/compose?to=tom.h...@gmail.com>
> >
>
> Subject: Re: OT: CodeIgniter Routing
> To: "Main PLUG discussion list" 
> http://mc/compose?to=plug-discuss@lists.phxlinux.org>
> >
> Date: Friday, November 30, 2012, 9:53 AM
>
>
> Yeah.  Keep researching CodeIgniter tutorials, because ideally, you
> wouldn't ever need to use rout

Re: OT: CodeIgniter Routing

2012-11-30 Thread Tom Haws
Yeah.  Keep researching CodeIgniter tutorials, because ideally, you
wouldn't ever need to use routes.php unless you had a need for an alias or
some other special occasion.

On another note, it would be more conventional to talk to your database
tables in model files and then call model functions in your controllers.
Again, I recall watching a short CodeIgniter tutorial video that really
helped clarify this.

--
"To forgive is the highest, most beautiful form of love. In return, you
will receive untold peace and happiness." - Dr. Robert Muller


On Fri, Nov 30, 2012 at 9:36 AM, Eric Cope  wrote:

> You can just put your controller "pages" in the controller/cp directory...
>
> Then you don't have to muck with the routes...
>
> Eric
>
>
> On Fri, Nov 30, 2012 at 9:20 AM, keith smith wrote:
>
>>
>>
>> Hi,
>>
>> I'm rather new to CodeIgniter.  I'm using version 2.0.3 and am using the
>> provided .htaccess code to remove index.php from the URL.
>>
>> I'm working on a control panel and would like to set up a controller for
>> each table to keep things simple and modular.  (any feedback on a better
>> idea is much appreciated)
>>
>> I was thinking I needed to configure the controllers this way
>>
>> 1) $route['cp/pages/(:any)'] = "cp_pages"; (would contain only controller
>> code for managing the pages table.)
>>
>> 2) $route['cp/users/(:any)'] = "cp_users"; (would contain only controller
>> code for managing the users table.)
>>
>>  other table configured with their own control panel.
>>
>> 3) $route['cp/'] = "cp"; (splash page and menu.  If not logged in
>> presents the log in form)
>>
>> /cp/  gives me the splash page. so far so good.
>>
>> /cp/pages - cp controller - not what I was expecting.  I was wanting the
>> index function of the cp_pages controler.
>>
>> /cp/pages/list/ - takes me to the cp_pages controller / index function
>>
>> What I would like to configure is:
>>
>> /cp/ - use cp controller
>>
>> /cp/pages/ - use the cp_pages controller / index function
>> /cp/pages/add/ - use the cp_pages controller / add function
>> /cp/pages/list - use the cp_pages controller /list function
>> /cp/pages/list/10 - use the cp_pages controller /list function with
>> segment set to 10 as starting point.
>>
>> If I'm going down the wrong path please let me know.
>>
>> Thank you!
>>
>>
>> 
>> Keith Smith
>> ---
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss