Re: [PHP-DB] Recommended web developers

2008-06-25 Thread Sancar Saran
On Tuesday 24 June 2008 22:45:20 Ken Keefe wrote:
 I'm a little surprised no one else has commented on this, but for a
 website that complicated, 10k is way too low. I've done work on
 websites that do almost all of those things separately, but not
 combined and I can tell you to have a high quality website that does
 just one of the things you mention will cost you about 10k. This is
 very much a guess because something like Blogging can be done very
 simply (cheaply). But it will not have even close to the feature set
 of the major blogging sites.

 In fact, I just wrapped up a project that was a simple business
 directory last month for 5k. Again, that site was *simple* and no
 where near as flexible as the code you see from yahoo or google. There
 is a reason those companies pay hundreds of developers 80k a year...

 Sorry to rain on your parade. Hopefully you just left out a 0 or two...

 Ken


Because, no resonable company or investor send a message someting like that.

Poster haven't any clue his requirements. This kind of web site requires 
enormus amount of management (other than code). And that 10K even does not 
pay design document.

We classfiy this kind of messages: Cheap Sausage Machine request.

They think that web site (for example yahoo.com) some kind of Sausage Machine 
like put meat this side get saussage other side.

Regards
Sancar


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Zend optimizer question

2007-07-04 Thread Sancar Saran
On Wednesday 04 July 2007 10:44:39 Lasitha Alawatta wrote:
 Hi All,



 If we are using encoded php script (by using Zend Guard) then we MUST
 have to install Zend Optimizer to the web server to run that script
 file. Otherwise we need not to install Zend Optimizer (no point of
 having it Zend optimizer). 



 Is above statement is correct...???



 Really appreciate your comments.

Hmm, Yes or no.
Yes, you have to install Zend Optimizer to work with Zend Guard encoded files.

No, Zend optimizer has opcode cache ( and much slower than APC) and it gives 
you speed boost.

So. 
If you had files encoded by Zend Guard. You need Zend Optimizer. If you can't 
install APC in your system and your system already have Zend Optimizer (such 
as a site5.com offer) it was very nice addition to boost your performance.

Hope helps.

And what is the problem entire php list's about Zend, every question about 
zend producs responded by  GO and ask Zend...

Regards

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Zend optimizer question

2007-07-04 Thread Sancar Saran
Hello Again
  And what is the problem entire php list's about Zend, every question
  about zend producs responded by  GO and ask Zend...

 Because you bought the products FROM zend so they are the experts on it.

 Same as every response about a problem mysql query results in a ask the
 mysql list response - ask the people that know it the best.

Really ?

Also last time I look PHP LIST there was huge thread someting 
about batter.

We use that lists speed up our programming process. Here lots of php experts. 
Some of them may deal this problem before. Finding same answers from zend 
consumes more time. 

If you had no answer or do not want to share your knowladge thats OK. And 
repelling people because of small mistakes just damage spirit of this mailing 
lists.

Regards

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] array field type

2007-03-05 Thread Sancar Saran
Thanks for all those replies. It seems there was no easy solution (and or 
serializing was better solution) for us.

Our arrays contains lots of things.. XML may not fit because content of array 
may broke xml structure. 

Thanks for help.

Regards

Sancar.

 Hi,
 
 I want to know is there any db server around there for store php arrays
 natively.
 
 Regards
 
 Sancar
 
 Thanks for responses, it seems I have to give more info about situation.
 
 In my current project, we had tons of arrays. They are very deep and
 unpredictable nested arrays.
 
 Currently we are using serialize/unserialize and it seems it comes with
 own cpu cost. Xdebug shows some serializing cost blips. Sure it was not
  SO BIG deal (for now of course).
 
 My db expertise covers a bit mysql and mysql does not have any array type
 field (enum just so simple).
 
 I just want to know is there any way to keep array data type natively in
  a sql field.
 
 Regards.
 
 Sancar

 _
 Win a trip for four to a concert anywhere in the world!
 http://www.mobilelivetour.ca/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] array field type

2007-03-04 Thread Sancar Saran
Hi,

I want to know is there any db server around there for store php arrays 
natively.

Regards

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] array field type

2007-03-04 Thread Sancar Saran
On Sunday 04 March 2007 23:04, Sancar Saran wrote:
 Hi,

 I want to know is there any db server around there for store php arrays
 natively.

 Regards

 Sancar
Thanks for responses, it seems I have to give more info about situation.

In my current project, we had tons of arrays. They are very deep and 
unpredictable nested arrays.

Currently we are using serialize/unserialize and it seems it comes with own 
cpu cost. Xdebug shows some serializing cost blips. Sure it was not SO BIG 
deal (for now of course).

My db expertise covers a bit mysql and mysql does not have any array type 
field (enum just so simple). 

I just want to know is there any way to keep array data type natively in a sql 
field.

Regards.

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] templatating Question

2007-01-18 Thread Sancar Saran
Hi,

I'm trying to generate a template system. I think I made it and others say 
this was too complicate and error prone because of the template engine uses 
php language...

They say html people broken easly the php file structure. So I have to rewrite 
system for parsing simple html files.

My template system uses one large file for tagging elements. 

$arrTemplate['module']['section']['node1']['action']= html content 
/html;

$arrTemplate['module']['section']['node2']['action']= html content 
/html;

My problem was find to way to generate some kind of labeling good for visual 
formatting (for dreamweaver or someting like that and good for easy parsing). 

Is anyone has suggest any tagging good for dreamweaver visual mode...


Thanks

ps:I hope I can translate my ideas.

Regards 

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Page refresh and database updation

2006-09-26 Thread Sancar Saran
On Tuesday 26 September 2006 15:31, Tamkhane, Pravin wrote:
 Hi All,
 I am a PHP newbie. I am using HTTP POST request to send some data to Apache
 and then using MySql to store that information. Once information is stored
 in MySql DB successfully, I display a result page. But the problem I am
 facing is that, if I refresh the result page displayed after database
 updation, the information is stored again in database which I don't want
 to. Please guide me on how I can avoid duplication of information in
 database on refreshing the page. Thanks in advance!

 Regards,
 Pravin

Hi,

Store last postted data into some where in $_SESSION (for example 
$_SESSION['last']) then, when user posts a data. check the last posted data 
if there are same data reject to record db if not record data to db.

for example (I assume your form field names uses name='postf[fieldName])

Your Php code ...
$process = 'pass';
if(is_array($_SESSION['last'])
{
if($_SESSION['last']['fieldName'] == $_REQUEST['postf']['fieldName'])
{
$strProcess = 'stop';
}
... put there other fields
}

if($process == 'pass')
{
do your sql statement
$_SESSION['last'] = $_REQUEST['postf'];
}

Regards 

Sancar

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php