Is it just me or does Zend_Date require a ton of memory?
var_dump(memory_get_usage());
$date = new Zend_Date();
var_dump(memory_get_usage());
Gives me:
int 9345896
int 13966200
That's a jump of 4620304 bytes!
Cheers,
David
--
View this message in context:
+1 from me too. And while we're at it, add a table of contents for each page
(à la wikipedia).
Example:
Try to quickly find Navigation Helpers in:
http://framework.zend.com/manual/en/zend.view.helpers.html
Cheers,
David
--
View this message in context:
PDO here as well (although I've used mysqli on servers that didn't have PDO)
There are some differences with binding parameters between the two. I
personally like PDO's style better.
PDO also supports named parameters, which lets you do some things that you
can't with mysqli.
I'd suggest looking
I knew someone wouldn't be able to resist... :-P
You have to know exactly what you're searching for, so it's fixing the wrong
problem.
Most of the time I want a quick overview to see if what I'm looking for is
even on the given page.
Cheers,
David
--
View this message in context:
Welcome to the wacky world of Zend_Form. :-)
I believe what you're looking for is getErrorMessages()
Cheers,
David
--
View this message in context:
http://n4.nabble.com/Zend-Form-error-weirdness-tp1575098p1576108.html
Sent from the Zend Framework mailing list archive at Nabble.com.
If all you're after is the id of the row, just get it from the row:
$row-save();
$id = $row-id;
Save should be returning the primary key, and if not, then it's a bug.
Cheers,
David
--
View this message in context:
http://n4.nabble.com/insert-or-save-Zend-Db-Table-tp1575952p1576111.html
$row-id is the id value for the row (according to the schema you posted)
$row-id() is not a defined method, so should throw an exception.
$row-id !== lastInsertId(), although it should be in most cases. Depending
on your _postInsert() code, lastInsertId() might not be the row's ID.
Cheers,
You can render individual elements and decorators.
echo $this-form;// renders the whole thing
echo $this-form-render(false); //renders the opening form tag
echo $this-form-element; //renders the given element (can be a display
group)
echo $this-form-element-renderLabel(); //renders the Label
Since Thomas was so helpful
Here you go:
http://framework.zend.com/manual/en/zend.date.additional.html#zend.date.additional.timezones
Looks like it does what you're looking for.
Just create the date object, and then give it a new timezone with the
setTimezone() method.
Cheers,
David
--
You'll need to check the php ini setting:
session.gc_maxlifetime
default is 1440, so the session garbage collector is probably wiping the
session files earlier.
Cheers,
David
--
View this message in context:
http://n4.nabble.com/Zend-Session-rememberMe-tp1587009p1587221.html
Sent from the
it's PHP_INI_ALL, so can be changed from anywhere.
IIUC you can also set it using application.ini:
phpSettings.session.gc_maxlifetime = 604800
Cheers,
David
--
View this message in context:
http://n4.nabble.com/Zend-Session-rememberMe-tp1587009p1587252.html
Sent from the Zend Framework
You can't selectively set the gc_maxlifetime unless you also change the save
path while you're at it. Otherwise, the garbage collector may run and wipe
all your rememberMe sessions when a non rememberMe user logs in.
David
--
View this message in context:
My emails don't get through either, so I'm using the web interface for now.
Make sure the email address you registered is identical to the one you're
sending emails from.
For me the problem is that I have username+z...@gmail.com as the registered
address, but send from usern...@gmail.com.
David
They should be namespaced IMO.
Also, the example given here uses namespaces:
http://www.doctrine-project.org/blog/doctrine-2-give-me-my-constructor-back
--
View this message in context:
http://n4.nabble.com/Doctrine-2-0-Entities-Models-Naming-and-Autoloading-tp1678427p1678528.html
Sent from
Where is the database located in relation to the web server? My guess is that
it's slow because the database server is not on the same network as the web
server.
Cheers,
David
--
View this message in context:
http://n4.nabble.com/Zend-Db-really-slow-tp1680359p1680428.html
Sent from the Zend
You are awesome! Thanks for the script.
I filed a similar report 6 months ago.
http://framework.zend.com/issues/browse/ZF-7769
Cheers,
David
--
View this message in context:
http://n4.nabble.com/Navigating-ZF-manual-tp1695651p1747459.html
Sent from the Zend Framework mailing list archive at
Awesome :-)
Is the code public domain/new-bsd?
Cheers,
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/validator-chains-and-context-tp2130875p2197075.html
Sent from the Zend Framework mailing list archive at Nabble.com.
If you look at the code, addErrorMessages() ignores keys. It simply does:
foreach($messages as $message){
$this-addErrorMessage($message);
}
From looking at the code, and your sample, if the element is invalid, you
should be getting both error messages regardless of which validator
triggered
The problem I think is that you're trying to check the progress after it has
already been uploaded.
The php script that receives the file won't actually run until the file has
been completely uploaded (IIUC, php isn't executed until the web-server
recieves the full HTTP request, file and all). To
That's one of the hardest parts of Zend_Form IMO.
It's hard to get good samples of how to design forms with definition lists.
I've never been happy with the result so I generally render what I need
manually, and wrap things in fieldsets and divs.
eg:
fieldset
legendForm Section/legend
div
?php
scss wrote:
That is a tough one if you are using files. PHP's garbage collector will
run on a specific interval looking for files that have old timestamps
(outside of a specificed range), and once it finds them, it will delete
them.
If you wanted to iterate the session's file directory,
Maybe what you're looking for is the resource loader.
http://framework.zend.com/manual/en/zend.loader.autoloader-resource.html
It lets you specify a path for a particular namespace.
Eg. you might have the following layout:
/application
/model
Using the resource loader you can set it up so
I'd be more interested in a way to bake the application.
Paddy had a post about ZF vs Symfony performance.
http://blog.astrumfutura.com/archives/421-PHP-Framework-Benchmarks-Entertaining-But-Ultimately-Useless.html
In it he builds some optimised builds that skips Zend_Application and has a
bunch
No, only the latter will execute.
php var_dump('' != false, '' !== false);
bool(false)
bool(true)
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Question-tp2340147p2399499.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Supposedly the router can deal with this automatically, but I haven't had
much time to mess around with it. I do remember though that all your links
will typically need to be generated using the url view helper, otherwise the
links won't be based off the baseUrl.
An alternative that I've used in
It's also what we get from ignoring invalid settings. Don't get me wrong. I
still think invalid settings should be ignored. Rather, we need a way to
make this a quick 5 minute debug session, rather than something that can go
on for days.
David
--
View this message in context:
I was thinking notices, rather than exceptions. That said, I think I just
came up with a simple way to debug this.
Essentially, this is what I'm thinking; if sample config arrays were offered
as part of the documentation (or generated from it), then you could just use
PHP's array functions to
Your route should be user/:username/:action
with the default action being view
you can then do:
user/Spongebob or user/Spongebob/view
user/Spongebob/edit
user/Spongebob/delete
the one that doesn't quite work with this is add
So you'll probably need to set up a second route for user/add
Cheers,
I would have expected limit 0 to mean no limit or unlimited.
The current behaviour seems to follow that pattern.
That said, PHP's LimitIterator treats -1 as unlimited and 0 triggers an
OutOfBoundsException.
Cheers,
David
--
View this message in context:
I'm just saying that 0 is often times used that way. (eg.
session.cookie_lifetime)
It also makes sense if you're setting the limit to 0, as in no limit (0 ==
false), vs. limit (reduce) the resultset to 0 rows (which is how MySQL
understands it).
David
--
View this message in context:
Also, is it a normal html link, or is it something triggered by javascript?
Double triggering is fairly common with the latter if you're not careful
with how you bind event handlers. It being FF specific however, makes me
thing this isn't the issue, but figured I'd suggest it anyway.
Cheers,
Hector Virgen wrote:
As brought up by Artem, it's case-insensitive so it shouldn't matter as
long
as browsers are following the spec.
IIRC, IE does not follow the spec correctly.
David
--
View this message in context:
How did you create the dates?
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Date-Subtractions-Differences-tp2996040p2996412.html
Sent from the Zend Framework mailing list archive at Nabble.com.
is the ISO year, which is different from which is the normal
calendar year.
http://en.wikipedia.org/wiki/ISO_year#Relation_with_the_Gregorian_calendar
You should use either of the following:
$date = new Zend_Date($datecolumn, Zend_Date::ISO_8601);
$date = new Zend_Date($datecolumn,
I have application.ini ignored, and instead track template.application.ini
On deployment, I use the template to generate the application.ini file. Mind
you, I use phing, so I'm not too sure about the ins and outs of Capistrano,
but surely, you could have it swap out tokens in your template file
Or use your favorite build tool to concatenate your css files into one on
deployment :-)
During development, just have your css file use @import statements to
include the other css files.
David
Rafael wrote:
I suggest to create a view helper to scan and load all stylesheets :)
--
monk.e.boy wrote:
weierophinney wrote:
(APC http://php.net/manual/en/book.apc.php will help your speed issues)
APC is one solution -- and that applies to ZF1 as well. However, the
better solution is to profile the code and re-architect pain points to
make them more performant. The
I would put the two block in fieldsets, then use floats.
You can create fieldsets by using displaygroups.
Cheers,
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/How-render-Zend-Form-to-html-table-tp662422p3047990.html
Sent from the Zend Framework
Forgot to include this one:
http://aspnetresources.com/blog/styling_definition_lists
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Form-default-decorators-tp3043858p3048108.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Pardon the rant, those who are interested in the more useful part of my
reply, drop down to the end.
[rant]
I have to agree with the notion that styling dl's are often a PITA. I find
it much easier to work with just the input and label wrapped in a div.
Floating is still necessary there too, but
I believe what you're wanting is something more along the lines of
RewriteRule ^foo(.*)$ bar$1 [R=301,NC,L]
That will rewrite foo/action/ to bar/action/
Note that it will also rewrite foo-dat-i-piddy/action to
bar-dat-i-piddy/action
Cheers,
David
Colin Guthrie-6 wrote:
'Twas brillig, and
Throwing it on a slight tangent, but maybe storing the objects in the session
isn't the best solution. I've done it in the past, but have found that it's
often more trouble than it's worth.
I would do instead is either inject a Zend_Session_Namespace to store object
data, or create a mapper
No, the object is still unserialized when the session is started.
One way to get around it is by forcing string unserialization by doing
something like:
$obj = new obj;
$_SESSION['obj'] = 'a not so random string'.serialize($obj);
... then to load ...
$ser = unserialize(str_replace('a not so
IIRC, the \n at the end of each line is needed because php's closing tag
gobbles any newline characters that immediately follow it.
As for the extra space within the meta tag. It's probably a bug but not
one that really matters. It's probably never been fixed because the output
is still valid
An alternate solution would be to use a static cache, and skip php altogether
if the page has been cached. See:
http://framework.zend.com/manual/en/zend.cache.frontends.html#zend.cache.frontends.capture
http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.static
Sergio,
Compression by the web-server (eg. mod_deflate) will be your best bet.
Otherwise, the cost of minifying the html would probably far outweigh*
whatever gains you might get from the reduced bandwidth.
*I don't have any actual numbers to back up that claim.
Also see:
Here's how I've solved the issue:
Server-side:
If the user tries to access a page and their session has expired, or are not
authenticated, I return a 401 status code, then forward to the login page,
which I think would look like this:
$this-getResponse()-setHttpResponseCode(401);
MG7282 wrote:
I just tried setting this up on my mac osx and am experiencing the same
issue.
OSX is unix...
does running:
cd path/to/Zend/bin
php zf.php
work?
As for it not being able to find zf.sh, that's pretty obvious.
Your path includes:
/home/content/m/a/r/mariannag7282/bin
but
MG7282 wrote:
When I run php zf.php in terminal on my local machine (Mac OS x), I get:
An Error Has Occurred
An action and provider is required.
Zend Framework Command Line Console Tool v1.11.1
Usage:
zf [--global-opts] action-name [--action-opts]
Rafael wrote:
Hello,
I don't know if it is the right to ask however i have one issue that
nobody else managed to solve it.
I'm using zend framework 1.11.3, PHP 5.3 and MySQL 5.1 configured with
InnoDB engine. I'm trying to make a relationship between two tables
to apply cascade
You don't have application in your path, so of course it won't see
forms/ContactForm.php
Better than putting it in your path though, I'd just use the resource
autoloader:
http://framework.zend.com/manual/en/zend.loader.autoloader-resource.html
That way all you need in your path is:
No idea why it would be throwing that, unless you're including the file
twice.
The only file you need to manually include/require is the autoloader.
After setting up the resource loader, you can simply do:
$form = new Application_Form_ContactForm;
You'd have to rename the classes accordingly.
If
Yeah, there's a missing closing parenthesis there.
http://pastie.org/1600369
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Error-Class-forms-ContactForm-not-found-new-to-Zend-tp3319850p3321957.html
Sent from the Zend Framework mailing list archive at
Please see the 2nd paragraph of my 2nd reply.
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Error-Class-forms-ContactForm-not-found-new-to-Zend-tp3319850p3321997.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Zend_Date is next to useless for validating dates:
http://framework.zend.com/issues/browse/ZF-7583
You're better off building your own date validator.
Cheers,
David
--
View this message in context:
Not all databases support implicit joins, so you need to convert it to
explicit joins.
So instead of:
SELECT parent.name
FROM nested_category AS node,
nested_category AS parent
WHERE node.lft BETWEEN parent.lft AND parent.rgt
AND node.name = 'FLASH'
ORDER BY parent.lft;
You'd have:
SELECT
You wouldn't be able to use Zend_Db_Table::update(), but I think you could
use the adapter's update() method if you pass in the table names as a
Zend_Db_Expr() object.
You might also be able pass in the two table names as an array.
You may also have to use Zend_Db_Expr for the data and where
Here's what I'd do:
1. Create a temporary table using the Memory engine (you may need to
increase the max heap size if there's a lot of data)
2. Create a prepared statement to insert into the temp table (insert a bunch
of rows at the same time to speed this step up)
3. begin transaction
4. INSERT
Note, this is getting out of Zend Framework land
A temp table can use any of the database engines; memory just happens to be
the fastest :-)
Now for a more practical example:
lets say you want to import product_metrics (I don't know what your columns
look like, so I'll make up something)
lordali wrote:
Hi,
I am new to ZF. Hoping to learn it but need some verifications.
Zend Framework
This is open source framework which is only needed to make Zend Web
Projects. Right?
What are Zend Web Projects?
Zend Framework is a library of PHP components including a full MVC
You mean something like:
function toHMS($time){
$seconds = $time % 60;
$minutes = (($time-$seconds) % 3600) / 60;
$hours = (int) ($time-$minutes)/3600;
return sprintf('%02d:%02d:%02d',$hours , $minutes, $seconds);
}
Cheers,
David
--
View this message in context:
Markizano is talking about prepared statements with placeholders, which is
the recommended way of working with a database as it minimises the risk of
sql injection.
Passing an array to where or quoteInto will escape strings correctly, but
you also need to make sure that you don't pass in an empty
Chris Morrell also put together a greasemonkey script that I've been using:
http://cmorrell.com/webdev/zf/zend-framework-documentation-777
Cheers,
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Reference-guide-suggestion-tp3466461p3467235.html
Sent
Did you try:
$result = array_diff_assoc($_POST, $_SESSION);
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/multi-dimensional-array-difference-pls-help-tp3525212p3525418.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List:
Error means that php's mail() function failed.
You need to set up PHP to use an MTA to use the Sendmail transport.
Check your php.ini to see if it's set up, particularly sendmail_path. Should
be something like:
sendmail_path = /usr/sbin/sendmail -t -i
Cheers,
David
--
View this message in
What platform are you using?
If you can't send via mail() you can also try using the SMTP transport.
David
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Send-mail-with-multiple-Cc-tp3556120p3564818.html
Sent from the Zend Framework mailing list archive at
You can't be getting the same error because the SMTP transport will not throw
the same exception. The only exception that the SMTP transport throws is
'_prepareHeaders requires a registered Zend_Mail object'. Is that what
you're getting?
David
--
View this message in context:
On Thu 14 Jul 2011 09:06:38 EST, MMurphy wrote:
Looks like you have an input filter using addslashes() and you are lacking
the use of stripslashes() on output. (or more likely
mysql_real_escape_string() and its paired function.) Anyone able to comment
on this with more authority? I'm not a
On Sat 23 Jul 2011 04:27:16 AM EST, Bart McLeod wrote:
Op 22-07-11 17:06, David Mintz schreef:
On Thu, Jul 21, 2011 at 5:19 PM, Bart McLeodmcl...@spaceweb.nl wrote:
My wild guess is that you should override addMultiOptions in a custom
select element so that you can add the class attribs.
The way I handle forms is like this:
table
tr
td?=$firstname-renderLabel()?/td
td?=$firstname-renderViewHelper()?br /
?=$firstname-renderErrors()?/td
/tr
…etc…
/table
Except I wouldn't be using tables, but fieldsets and divs instead.
Cheers,
David
On 29/09/11 07:10,
On 09/30/2011 02:11 AM, David Mintz wrote:
On Thu, Sep 29, 2011 at 2:24 AM, David Muir davidkm...@gmail.com wrote:
The way I handle forms is like this:
table
tr
td?=$firstname-renderLabel()?/td
td?=$firstname-renderViewHelper()?br /
?=$firstname-renderErrors()?/td
/tr
…etc
On 06/10/11 01:03, monk.e.boy wrote:
David Muir-2 wrote:
table
tr
td?=$firstname-renderLabel()?/td
td?=$firstname-renderViewHelper()?br /
?=$firstname-renderErrors()?/td
/tr
…etc…
/table
Except I wouldn't be using tables, but fieldsets and divs instead
MD5 is used in the example usage of /credentialTreatment/ for
Zend_Auth_Adapter_DbTable:
http://framework.zend.com/manual/en/zend.auth.adapter.dbtable.html#zend.auth.adapter.dbtable.advanced.advanced_usage
Is this a good idea? Shouldn't something a bit more secure be used for
passwords?
://twitter.com/Ocramius
http://marco-pivetta.com
On 14 October 2011 03:34, David Muir davidkm...@gmail.com
mailto:davidkm...@gmail.com wrote:
MD5 is used in the example usage of /credentialTreatment/ for
Zend_Auth_Adapter_DbTable:
http://framework.zend.com/manual/en
Couldn't you also do this using mod_rewrite or similar?
David
On 09/11/11 23:49, Diego Garcia wrote:
my localhost is a windows system, i want to know if there was an easy
way
i solved it with a plugin that check the url and redirect correctly
like you said
thanx Armand
El 09/11/2011
As a backup, I have the environment stored in a php file:
config/environment.php:
?php return 'development';
index.php:
?php
//... checks for env vars first ...
//if it fails:
$env = include APPLICATION_PATH . '/config/environment.php';
Cheers,
David
On 02/15/2012 11:20 AM, Alayn Gortazar
On 13/02/12 15:15, Jakub Vrana wrote:
Hello!
Please read the article
http://php.vrana.cz/defense-against-xss-in-zend-framework.php and
consider changing the way how Zend Framework escapes data on output
before Zend Framework 2 is out.
The number example in there is kind of dumb. For that,
On 05/16/2012 02:59 AM, cmple wrote:
cmple wrote
ralphschindler wrote
Based off of what is in master, I can confirm that this works:
https://github.com/ralphschindler/Zend_Db-Examples/blob/master/example-15.php
What is the error/exception you are getting?
-ralph
On 5/13/12 9:51 PM,
I followed the directions on packages.zendframework.com, but I end up
with beta5 instead of rc6. How do I get rc6 using composer?
Cheers,
David
On 30/08/12 04:19, Matthew Weier O'Phinney wrote:
Github has had some issues today, and this is likely a result. I've
heard reports on IRC that
Congrats on a great release. Looking forward to digging in to it. New website
looks good too. User Guide link was broken, but the 404 page was worth it!
Cheers,
David
On 06/09/2012, at 1:58 PM, Matthew Weier O'Phinney matt...@zend.com wrote:
Zend Framework 2.0.0
This
Swap out the formatter for the writer.
ZF1:
http://framework.zend.com/manual/1.12/en/zend.log.formatters.html
ZF2:
http://framework.zend.com/manual/2.0/en/modules/zend.log.formatters.html
Cheers,
David
On 14/09/2012, at 6:17 PM, Steve Rayner srayne...@googlemail.com wrote:
Zend_Log has this
What's the best way to output a file from one of my controllers?
Cheers,
David
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com
://marco-pivetta.com
On 1 October 2012 09:21, David Muir-2 [via Zend Framework Community]
ml-node+s634137n4657245...@n4.nabble.com wrote:
What's the best way to output a file from one of my controllers?
Cheers,
David
--
List: [hidden email]http://user/SendEmail.jtp?type=nodenode=4657245i=0
https://github.com/zendframework/zf2/issues/2651
Cheers,
David
On 02/10/12 23:04, Matthew Weier O'Phinney wrote:
David --
Can you report this issue at https://github.com/zendframework/zf2/issues
please?
-- David Muir davidkm...@gmail.com wrote
(on Tuesday, 02 October 2012, 12:51 PM +1000
In my config I have:
...
'view_manager' = array(
'display_not_found_reason' = true,
'display_exceptions' = true,
...
But when the application throws and exception, I get a blank page.
Shouldn't the exception be caught an then displayed?
Cheers,
David
--
List:
On 05/10/12 11:34, David Muir wrote:
In my config I have:
...
'view_manager' = array(
'display_not_found_reason' = true,
'display_exceptions' = true,
...
But when the application throws and exception, I get a blank page.
Shouldn't the exception be caught
Back in ye olde ZF1 days, I'd set things up using the log resource and
I'd either have everything worth logging bubble up as an exception to
the controller, which would then pass it on to the log, or I'd pass the
logger in as a dependency of the service.
I was in the middle of doing something
On Fri, Oct 12, 2012 at 12:15 AM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- David Muir davidkm...@gmail.com wrote
(on Thursday, 11 October 2012, 11:07 AM +1100):
Back in ye olde ZF1 days, I'd set things up using the log resource
and I'd either have everything worth logging bubble up
On 13/10/12 00:29, Matthew Weier O'Phinney wrote:
-- David Muir davidkm...@gmail.com wrote
(on Friday, 12 October 2012, 05:28 PM +1100):
This isn't really an issue specific to ZF2, but since one of the
recommended installation methods is via composer, I figured I'd ask here.
When deploying
On 13/10/12 00:26, Matthew Weier O'Phinney wrote:
-- David Muir davidkm...@gmail.com wrote
(on Friday, 12 October 2012, 01:46 PM +1100):
On Fri, Oct 12, 2012 at 12:15 AM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- David Muir davidkm...@gmail.com wrote
(on Thursday, 11 October 2012, 11
On 13/11/12 05:28, Matthew Weier O'Phinney wrote:
-- Marc Tempelmeier m.tempelme...@bqs-institut.de wrote
(on Monday, 12 November 2012, 08:51 AM +0100):
What I see in the channels is that there is some kind of rest period.
There are a few who make the modules site, but in the whole it seems
On 13/11/12 12:16, Matthew Weier O'Phinney wrote:
-- David Muir davidkm...@gmail.com wrote
(on Tuesday, 13 November 2012, 09:28 AM +1100):
On 13/11/12 05:28, Matthew Weier O'Phinney wrote:
I don't say this as a critique, but just to clarify what I
understand to be the problem. People
Anybody have a Mandrill transport class set up for Zend Mail that sends
via their API calls?
I tried using SMTP, but it doesn't seem to work. I've read other reports
where Zend_Mail has not worked, but SwiftMail has. I'd prefer to use
their API though, as it's much faster than SMTP.
I've
On 04/02/13 11:48, David Muir wrote:
Anybody have a Mandrill transport class set up for Zend Mail that
sends via their API calls?
I tried using SMTP, but it doesn't seem to work. I've read other
reports where Zend_Mail has not worked, but SwiftMail has. I'd prefer
to use their API though
On 06/02/13 18:29, Peter Warnock wrote:
Just trying to see if anyone else has gone this route, or what the caveats
might be by using a transport that runs over Zend_Http_Client.
Take a look at https://github.com/juriansluiman/SlmMail
You might be able to fork it and contribute a Mandrill
If PHPExcel doesn't use namespaces, then it lives in the root namespace \.
You just use it like you would any old non-namespaced code.
I think the confusion comes from the PHP manual interchanging aliasing
and importing. The use statement only creates an alias. It does not do
any importing
On 14/03/13 09:52, Brad Waite wrote:
Thanks, David. Your examples were clarifying.
I think I was expecting the automapper to create namespace maps for the classes
under PHPExcel. It looks like composer
might do that if asked, but I haven't tried yet.
You just use it like you would any old
I've just set up a login form using the
Zend\Authorization\Validator\Authorization.
Overall things are working reasonably well, but there are few
annoyances/oddities.
First, to load the validator, I have to reference the full classname
Zend\Authorization\Validator\Authorization instead of a
I've just set up a login form using the
Zend\Authorization\Validator\Authorization.
Overall things are working reasonably well, but there are few
annoyances/oddities.
First, to load the validator, I have to reference the full classname
Zend\Authorization\Validator\Authorization instead of a
That seems incredibly inefficient, especially if each lookup is a round trip to
the DB. Wouldn't you be better off creating a query that fetches both books and
authors?
Cheers,
David
On 09/04/2013, at 11:42 PM, Matus Zeman matus.ze...@gmail.com wrote:
Hi Sinimix,
I don't like to complicate
1 - 100 of 130 matches
Mail list logo