[TYPO3-dev] where is the answers

tamer abdelrahman tamer_elsoudy at yahoo.com
Wed Apr 8 13:11:12 CEST 2009


dear all 
 
please give me the answer
 
1- which extension is better to make documentation area in typo3 
2- how can I activate google search area in typo3 
please answer me 
 

--- On Wed, 4/8/09, typo3-dev-request at lists.netfielders.de <typo3-dev-request at lists.netfielders.de> wrote:


From: typo3-dev-request at lists.netfielders.de <typo3-dev-request at lists.netfielders.de>
Subject: TYPO3-dev Digest, Vol 67, Issue 11
To: typo3-dev at lists.netfielders.de
Date: Wednesday, April 8, 2009, 6:00 AM


Send TYPO3-dev mailing list submissions to
    typo3-dev at lists.netfielders.de

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
or, via email, send a message with subject or body 'help' to
    typo3-dev-request at lists.netfielders.de

You can reach the person managing the list at
    typo3-dev-owner at lists.netfielders.de

When replying, please edit your Subject line so it is more specific
than "Re: Contents of TYPO3-dev digest..."


Today's Topics:

   1.  Extension review (Rik Willems)
   2. Re: Extension review (Georg Ringer)
   3. Re: CLI (Laurent Albertini)
   4. Re: Extension review (Rik Willems)
   5. Re: TYPO3 on ATOM CPU (Marcus Krause)
   6. new content object COA_GO - performance - need some    advise
      (Krystian Szymukowicz)


----------------------------------------------------------------------

Message: 1
Date: Wed, 08 Apr 2009 10:00:37 +0200
From: Rik Willems <rik at actiview.nl>
Subject: [TYPO3-dev]  Extension review
To: typo3-dev at lists.netfielders.de
Message-ID:
    <mailman.1.1239177637.28384.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all,

Yesterday I uploaded my first extension to TER called irfaq_az. It 
extends irfaq and adds an A-Z (alphabetic) view of irfaq entries, based 
on the dynamic view of irfaq.

Since this is my first extension I would really appreciate it if some of 
you could shortly look into the code. I'd like to make sure it is 
written properly so others can use it safely. Any suggestions are welcome.

I'm looking forward to your replies.

Regards,

Rik

NB: Documentation isn't yet available. I will add that soon. The 
extension is very simple in setup though, so it shouldn't be much of a 
problem.


------------------------------

Message: 2
Date: Wed, 08 Apr 2009 10:10:35 +0200
From: Georg Ringer <mail-spam at ringerge.org>
Subject: Re: [TYPO3-dev] Extension review
To: typo3-dev at lists.netfielders.de
Message-ID:
    <mailman.1.1239178254.22139.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Rik Willems wrote:

Some words:
- Please use the field "upload comment"
- I don't like hardcoded JS

> NB: Documentation isn't yet available. I will add that soon. The 
> extension is very simple in setup though, so it shouldn't be much of a 
> problem.

if the ext is very simple, the manual takes 30min time and still it is 
important to know how it works! Is there an extra plugin or is there a 
hook used and you need to set an additional marker, xclass used,....


Georg


------------------------------

Message: 3
Date: Wed, 08 Apr 2009 10:23:57 +0200
From: Laurent Albertini <lalbertini at cross-systems.com>
Subject: Re: [TYPO3-dev] CLI
To: typo3-dev at lists.netfielders.de
Message-ID:
    <mailman.1.1239179038.19747.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Dmitry,

Thank you for your help !

The process didn't go to the end when i launched cli_dispatch.phpsh ... 
but there was not visible errors... ( or i dont know how to make them 
visible)
So, i decided to add and delete/move, some "die("DEBUG - die 
here");",line by line and script by script, to try to understand the 
problem... and to follow the process.
To have sucess, i had to comment some lines ( detailed in my previous 
message).
I know it is a wrong way to go, but i just wanted to try to understand 
what i did wrong.

Finally i decided to use the "oldschool" method with the backpath but i 
had the same problem when trying to include the config_default.php.
In this script there is a require of temp_CACHED_XXXX_ext_localconf.php 
and in this temp script there was the conf of some extensions i had to 
comment to have success ( timtab and imagemap_wizard).
I decided to uninstall the two extensions, and the process go to the end  !

I didn't test again the cli_dispatch.phpsh method, cause i dont'know how 
to resolve the problem of the $BE_USER->backendCheckLogin(); and  the 
require_once(PATH_t3lib.'class.t3lib_befunc.php'); in "typo3/init.php".

Moreover, i already take a look on your extension... ( i am developping 
an extension which import newsML Items in tt_news ).


Dmitry Dulepov a ?crit :
> Hi!
> 
> Laurent Albertini wrote:
>> I am working with TYPO3 4.2.6 and i am trying to launch a PHP script
>> using the CLI mode.
>> I tried the methode with cli_dispatch.phpsh , but i failed to make work
>> the system.
> 
> Failed?.. How exactly?
> 
>> There was some lines of scripts  i have to comment to sucess to launch
>> my php script.
> 
> This is definitely a wrong way to go.
> 
>> But do you have any advice on the first problem ?
> 
> I have two ;) Firsts, tell us what exactly is the problem. Saying "failed" actually says nothing. There should be a error message at least. Secondly, take a look how other extensions work. Here is one simple example of CLI script:
> 
> http://typo3.org/extensions/repository/view/yafi/current/info/cli%252Fcli_yafi.php/
> 


------------------------------

Message: 4
Date: Wed, 08 Apr 2009 10:25:40 +0200
From: Rik Willems <rik at actiview.nl>
Subject: Re: [TYPO3-dev] Extension review
To: typo3-dev at lists.netfielders.de
Message-ID:
    <mailman.1.1239179139.13870.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Georg,

Thanks for this quick reply. I though I used the upload comment field... 
  Will look at it next time.

The JS is hardcoded in irfaq original, that is why I used that too. 
Alternative is to set it through setup I suppose?

I know documentation is important, I will upload that soon as an update 
with any suggestions that come from this list.

Thanks again,

Rik

Georg Ringer schreef:
> Rik Willems wrote:
> 
> Some words:
> - Please use the field "upload comment"
> - I don't like hardcoded JS
> 
>> NB: Documentation isn't yet available. I will add that soon. The 
>> extension is very simple in setup though, so it shouldn't be much of a 
>> problem.
> 
> if the ext is very simple, the manual takes 30min time and still it is 
> important to know how it works! Is there an extra plugin or is there a 
> hook used and you need to set an additional marker, xclass used,....
> 
> 
> Georg


------------------------------

Message: 5
Date: Wed, 08 Apr 2009 10:47:45 +0200
From: Marcus Krause <marcus#exp2009 at t3sec.info>
Subject: Re: [TYPO3-dev] TYPO3 on ATOM CPU
To: typo3-dev at lists.netfielders.de
Message-ID: <mailman.1.1239180465.3310.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1

Hahnefeld Bjoern schrieb am 04/07/2009 04:26 PM Uhr:
> Hello Marcus,
> 
> This is no problem for development and hosting. I'm using the ATOM's
> for both!


Thank you all for your comments.


Marcus.


------------------------------

Message: 6
Date: Wed, 08 Apr 2009 11:33:06 +0200
From: Krystian Szymukowicz <t33k.RE.MO.VE at RE.MO.VE.prolabium.com>
Subject: [TYPO3-dev] new content object COA_GO - performance - need
    some    advise
To: typo3-dev at lists.netfielders.de
Message-ID:
    <mailman.1.1239183167.23885.typo3-dev at lists.netfielders.de>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi

Before I put it into TER I'd like to show you my extension and ask for 
some advise how to optimize it as it could be quite helpul ext for everyone.

Extension adds new content object COA_GO. ( go = generate once)


Whats extra in this cObj ?
1. cObj is generated only once (more in details)
2. cache period is supported
3. ajax is supported


Where should you gain most?
It's good for cObj that occurs in the same form at many pages, for example:
a) news LATEST, forum LATEST, etc.
b) menu ? the bigger is the more you gain more in speed (ACT can be 
simpulated by javascript)
c) search input
d) some footer, tools menu, etc.

And its really easy to use it. See the example [1]:

Simple COA:

temp.a1 = COA
temp.a1 = TEXT
[...]

After conversion to COA_GO

temp.a1 = COA_GO
temp.a1.cache.type = beforeCache_db
temp.a1 = TEXT
[...]

That all!




DETAILS:
There are three types of caching type supported:

    1. beforeCache_db
    2. afterCache_file
    3. ajax_file



==============================
TYPE: "beforeCache_db"

1) cObject is generated once and the used by TYPO3 to generate other pages
2) Example: tt_news LATES with 10 real_url typolinks would render circa 
150ms on each generated page. Now it will be generated once and fetched 
from cache to build the page.

EXAMPLE as above [1].



====================================
TYPE: "afterCache_file"

1) Its cached to file and fast delivered with file include. The only 
computing is to decide if the content expired or not.

2) If cache period expires it will regenerate cached cObjects.

3) content is replaced each time TYPO3 gets the page from cache 
(something like EXT_INT but cached to file and with cache period supported)

EXAMPLE:

temp.a1 = COA_GO
temp.a1.cache.type = afterCache_file
temp.a1.cache.period = 30
temp.a1.cache.hash = footer
temp.a1 = TEXT
[...]

Where:
"period" - time in seconds the hash expires

"hash" - unigue name ? used in table cache_hash and as filename to write 
cached cObject. Choose it with care (means it should be unique and 
ready to be used as filename)



==================================
TYPE: "ajax_file"

1) content is fetched using ajax
2) pages can be get from TYPO3 cache with full speed
3) pages can even be generated as static files (fe. nc_staticfilecache)
4) with static files no php_mod is executed so it can be extremly fast 
and still deliver dynamic content


EXAMPLE

temp.a1 = COA_GO
temp.a1.cache.type = ajax_file
temp.a1.cache.period = 30
temp.a1.cache.hash = footer
temp.a1 = TEXT
[...]





============================================================
All the three types works and can be tested (but are not optimal as its 
beta :) )


Esspecially I would like to ask you for advise how to make regeneration 
of the cObject more optimal. Now I fetch the url with no_cache parameter 
which I think is not a good idea.

What I would like is to get URL that will regenerate only COA_GO object 
that are at the page. The best would be to have possibility to 
regenerate only selected COA_GO content objects. There is "hash" param 
in COA_GO that can be used to find only "this" COA_GO that sould be 
regenerated.



Here is the graphical diagram. Maybe there is some more info.
http://www.prolabium.com/coa_go/coa_go.gif

And the extension to download for testing.
(btw: ajax works now only in firefox, opera and chrome)
http://www.prolabium.com/coa_go/coa_go.zip

I hope you will like it and find some time for testing and giving some 
advices.

Later this weekend I will put it on forge and create some more 
documentation.



--
grtz
Krystian Szymukowicz


------------------------------

_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

End of TYPO3-dev Digest, Vol 67, Issue 11
*****************************************



      



More information about the TYPO3-dev mailing list