Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Alexander Johannesen
aoohralex aoohra...@gmail.com wrote:

ZEND, I'M REALLY HAPPY FOR YOU, I'M GONNA LET YOU FINISH, BUT SYMFONY
HAS ONE OF THE BEST FRAMEWORKS OF ALL TIME!


Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ --
-- http://www.google.com/profiles/alexander.johannesen ---


Re: [fw-general] Is there anybody from Zend team ?

2009-09-16 Thread Alexander Johannesen
On Wed, Sep 16, 2009 at 05:22, Carlton Gibson li...@noumenal.co.uk wrote:
 You need to revisit the quick start. It's quite clear that you need to set
 up a .htaccess file.
...
 Not everybody needs a layout.
...

I use ZF and use neither, and quite successfully, too. It's not really
a framework as much as a collection of cool classes that may or may
not be glued together at your whim. Or a framework to which to marry.
Or not. It's quite flexible, really.


Regards,

Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ --
-- http://www.google.com/profiles/alexander.johannesen ---


[fw-general] Zend Registry

2009-04-03 Thread Alexander Johannesen
Hi,

It says in the manual that Zend_Registry when used as an introspective
object has buggy behaviour is some versions of PHP, but it doesn't
state which versions. If it's like  5.1.* then it doesn't matter, but
some clarification would be good.

$glob = new Zend_Registry( array(), ArrayObject::ARRAY_AS_PROPS ) ;


Regards,

Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Use Zend without MVC

2008-09-24 Thread Alexander Johannesen
On Tue, Sep 23, 2008 at 23:13, Alomon [EMAIL PROTECTED] wrote:
 The homepage contains only one form. One of the table of the DB is a 'user'
 table, with 3 users + 2 admin accounts. Each user can access to *one* page
 ; one of the admin to all 3 pages + another one ; and the other admin to
 this 'another page'.

I'd ask you to draw me a diagram, but never mind. :)

 So we have 5 pages and 5 accounts.

So, a new forms that are somewhat similar but not quite for a number
of users of various roles.

 I think you have all details to answer me; if not, do not hesitate to ask me
 what is missing ;)

Well, I still have no idea what this thing does, but I have to say
upfront that I don't use MVC at all with the ZF. I'm a RESTafarian,
and so have created my own little RESTful system (no, the ZF Rest
class has nothing at all to do with REST :) and treat everything as
resources and access control. Makes life easier and more flexible. Not
sure how to apply this to your scenario, though, but ;

I always start out with rejecting a framework for simple applications
like this, yet always regret my own short-sightedness. These things
always gets that tad extra complicated (especially after you show you
tool to your peers) and messy as you hack on yet another insignificant
little feature. Frameworks are created because we've all been through
this cycle too many times and know that there's a bucketload of
mundane and simple stuff we shouldn't have to repeat all the time.

ZF is good in that it is more a library of great classes with a common
thinking rather than an integrated framework. I often mix and match ZF
with others, and it's really the best way to go forward.


Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Use Zend without MVC

2008-09-23 Thread Alexander Johannesen
On 23/09/2008, Alomon [EMAIL PROTECTED] wrote:
 Actually, after the day of today, I am really asking myself about the
 advantages of using Zend without MVC instead of Smarty for such a little
 website (only 5 pages with 4 little tables in a database)... You have an
 answer to this, don't you?

Well, tell us what the appication is all about, what it does and so
forth. The answer should follow from the spec, I reckon.


Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Zend Framework 1.6 Release Candidate 1 now available!

2008-07-23 Thread Alexander Johannesen
On Wed, Jul 23, 2008 at 14:16, Matthew Weier O'Phinney [EMAIL PROTECTED] 
wrote:
 We have been discussing shipping a lean-and-mean distribution that
 does not include documentation, tests, dojo, or the localization files
 (the i18n/l10n files account for a large percentage of the distro). I'm
 not sure how soon we will be doing this, but it _has_ been on our radar
 for some time.

That would be great! I'm never going to use Dojo, and prefer all docs
and tests outside of my projects, and as such would love a lean and
mean bundle to update my codebases.

+1

Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


[fw-general] ACL actual use

2008-03-11 Thread Alexander Johannesen
Hi,

Has anyone used Zend ACL in an active project, and would like to share
some thoughts on it? (Pro/con/gotcha's) I'm about to implement it into
a larger framework (an extension of ZF, really) and would like to hear
people's opinions before I get my surgeons knife out...

Also, has anyone defined an ACL definition / ini files? Much of the
API can be replicated through much simpler ini files, so if anyone has
done this I could save some time.


Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Zend_Http_Client_Adapter_Socket

2007-12-11 Thread Alexander Johannesen
On Dec 11, 2007 4:51 PM, Eric Coleman [EMAIL PROTECTED] wrote:
 I'm not really sure what the best approach is to accomplishing it,
 however I'd really be interested in having this ability.

I suspect the interface needs to be extended a bit with a action()
method and a addTask() method to add tasks to the stack. Maybe even
look into the MVC model for a place for this. Anyone in the depths of
ZF with thoughts on this? Performance is becoming the no. 1 asked for
feature these days ... :)


Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


[fw-general] Zend_Http_Client_Adapter_Socket

2007-12-10 Thread Alexander Johannesen
Hi,

Is there any thoughts on making the Zend_Http_Client_Adapter_Socket
multitasking? Currently one can only do sequences of requests, but
given response times and size of requests it would be very good to
multi-task these requests. I currently handle a number of web services
that in sequence spans several seconds, but (in a prototype with
sockets) multi-tasked is cut in 1/4.

I could give it a stab myself, but wanted to know if there were any
plans or further thoughts about this?


Regards,

Alex
-- 
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Damn wiki is down!

2007-08-25 Thread Alexander Johannesen
On 8/26/07, till [EMAIL PROTECTED] wrote:
 And what about installing Mediawiki? It has to be more stable when
 wikipedia uses it.

We've been using JIRA and Confluence together under heavy load with
heaps of plugins and custom scripts and templates, and I have it yet
to go down on me after 3 years, except when updating the software. I
think there's something else at play here, possibly conflicts within
the same Tomcat context, or even JVM params.


Alex
-- 
 ---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Wiki watcher suggestion

2007-06-21 Thread Alexander Johannesen

On 6/22/07, Mark [EMAIL PROTECTED] wrote:

0,15,30,45 * * * * result=`wget --tries 1 --server-response --timeout 60
http://framework.zend.com/wiki/display/ZFDEV/Home 21 | grep 'HTTP/'`; [[
${result} ==   HTTP/1.1 200 OK ]] || ( echo Wiki site down. ${result}
reported. Attempting restart; /etc/init.d/apache2 restart )


Ouch! That's another way of saying 'defeat'. :)

We use Confluence and JIRA in symbiosis here at work and never have
these kinds of problems, so I can at least vouch for the robustness of
those software packages. Could there be some plugin gone avry, or
something else entirely? Surely the logs would be helpful to have a
peak at.


Alex
--
---
Project Wrangler, SOA, Information Alchymist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Wiki manual updated - request for XSLT help

2007-05-06 Thread Alexander Johannesen

On 5/6/07, Martel Valgoerad [EMAIL PROTECTED] wrote:

Or, if it does not work as you would expect it to, then you may try to use
functions like normalize-space(string) or replace(string1,string2,string3).
Replace looks as a worst solution but it may be the one that actually works.
New lines are #xd; and #xa; (being chr(13) and chr(10) or carriage return
and a line feed).


What you want is for each element you want to translate, you use the
translate() function, as such ;

  xsl:value-of select=translate(.,'#xd;#xa;','') /


Alex
--
---
Project Wrangler, SOA, Information Alchymist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [fw-general] Wiki manual updated - request for XSLT help

2007-05-05 Thread Alexander Johannesen

Hiya,

On 5/6/07, Andries Seutens [EMAIL PROTECTED] wrote:

Okay, my first issue is that i need to convert docbook tables to wiki
tables.


Martels declarative version is just what you want, and you could just
as easy come up with alternative versions. I guess what I'm asking is
what you want to do. For example, where's your DocBook coming from?
Are you pulling apart DocBook documents and re-assembling them? Would
you prefer to apply a DocBook document and render more complete
documents?

And so forth. :)


Alex
--
---
Project Wrangler, SOA, Information Alchymist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/