2015. február 25., szerda

phpDocumentor 2 simple 'install' & running

install: All you need to do is download the phar binary. http://www.phpdoc.org/


running: php path\phpDocumentor.phar -d -t



phpDocumentor 2 simple 'install' & running

Installing PHPDocumentor 1 and adding to NetBeans IDE

PHPDocumentor 1 , this only works with PHP 5.2 project


C:\Windows\System32>pear install –alldeps PhpDocumentor

WARNING: “pear/PhpDocumentor” is deprecated in favor of “channel://pear.phpdoc.org/phpdocumentor”

WARNING: “pear/XML_Parser” is deprecated in favor of “pear/XML_Parser2″

downloading PhpDocumentor-1.4.4.tgz …

Starting to download PhpDocumentor-1.4.4.tgz (1,534,088 bytes)

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………….done: 1,534,088 bytes

downloading XML_Beautifier-1.2.2.tgz …

Starting to download XML_Beautifier-1.2.2.tgz (14,587 bytes)

…done: 14,587 bytes

downloading XML_Parser-1.3.4.tgz …

Starting to download XML_Parser-1.3.4.tgz (16,040 bytes)

…done: 16,040 bytes

install ok: channel://pear.php.net/PhpDocumentor-1.4.4

install ok: channel://pear.php.net/XML_Parser-1.3.4

install ok: channel://pear.php.net/XML_Beautifier-1.2.2


C:\Windows\System32>


//////////////////


Setting in NetBeans IDE


https://www.youtube.com/watch?v=RTZXp4EU3wk



Installing PHPDocumentor 1 and adding to NetBeans IDE

Installing PHPDocumentor and adding to NetBeans IDE

Microsoft Windows [verziószám: 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. Minden jog fenntartva.


C:\Windows\System32>pear install –alldeps PhpDocumentor

WARNING: “pear/PhpDocumentor” is deprecated in favor of “channel://pear.phpdoc.org/phpdocumentor”

WARNING: “pear/XML_Parser” is deprecated in favor of “pear/XML_Parser2″

downloading PhpDocumentor-1.4.4.tgz …

Starting to download PhpDocumentor-1.4.4.tgz (1,534,088 bytes)

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………….done: 1,534,088 bytes

downloading XML_Beautifier-1.2.2.tgz …

Starting to download XML_Beautifier-1.2.2.tgz (14,587 bytes)

…done: 14,587 bytes

downloading XML_Parser-1.3.4.tgz …

Starting to download XML_Parser-1.3.4.tgz (16,040 bytes)

…done: 16,040 bytes

install ok: channel://pear.php.net/PhpDocumentor-1.4.4

install ok: channel://pear.php.net/XML_Parser-1.3.4

install ok: channel://pear.php.net/XML_Beautifier-1.2.2


C:\Windows\System32>


//////////////////



Installing PHPDocumentor and adding to NetBeans IDE

Installing PHPDocumentor and adding to NetBeans IDE

Microsoft Windows [verziószám: 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. Minden jog fenntartva.


C:\Windows\System32>pear install –alldeps PhpDocumentor

WARNING: “pear/PhpDocumentor” is deprecated in favor of “channel://pear.phpdoc.org/phpdocumentor”

WARNING: “pear/XML_Parser” is deprecated in favor of “pear/XML_Parser2″

downloading PhpDocumentor-1.4.4.tgz …

Starting to download PhpDocumentor-1.4.4.tgz (1,534,088 bytes)

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………….done: 1,534,088 bytes

downloading XML_Beautifier-1.2.2.tgz …

Starting to download XML_Beautifier-1.2.2.tgz (14,587 bytes)

…done: 14,587 bytes

downloading XML_Parser-1.3.4.tgz …

Starting to download XML_Parser-1.3.4.tgz (16,040 bytes)

…done: 16,040 bytes

install ok: channel://pear.php.net/PhpDocumentor-1.4.4

install ok: channel://pear.php.net/XML_Parser-1.3.4

install ok: channel://pear.php.net/XML_Beautifier-1.2.2


C:\Windows\System32>


//////////////////



Installing PHPDocumentor and adding to NetBeans IDE

Installing PEAR on Windows

E:\>cd E:\server\UniServerZ_2014\core\php54


E:\server\UniServerZ_2014\core\php54>php go-pear.phar


Are you installing a system-wide PEAR or a local copy?

(system|local) [system] :


Below is a suggested file layout for your new PEAR installation.  To

change individual locations, type the number in front of the

directory.  Type ‘all’ to change all of them or simply press Enter to

accept these locations.


1. Installation base ($prefix)                   : E:\server\UniServerZ_2014\core\php54

2. Temporary directory for processing            : E:\server\UniServerZ_2014\core\php54\tmp

3. Temporary directory for downloads             : E:\server\UniServerZ_2014\core\php54\tmp

4. Binaries directory                            : E:\server\UniServerZ_2014\core\php54

5. PHP code directory ($php_dir)                 : E:\server\UniServerZ_2014\core\php54\pear

6. Documentation directory                       : E:\server\UniServerZ_2014\core\php54\docs

7. Data directory                                : E:\server\UniServerZ_2014\core\php54\data

8. User-modifiable configuration files directory : E:\server\UniServerZ_2014\core\php54\cfg

9. Public Web Files directory                    : E:\server\UniServerZ_2014\core\php54\www

10. Tests directory                               : E:\server\UniServerZ_2014\core\php54\tests

11. Name of configuration file                    : C:\Windows\pear.ini

12. Path to CLI php.exe                           : E:\server\UniServerZ_2014\core\php54


1-12, ‘all’ or Enter to continue:

Beginning install…

Configuration written to C:\Windows\pear.ini…

Initialized registry…

Preparing to install…

installing phar://E:/server/UniServerZ_2014/core/php54/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.12.tar…

installing phar://E:/server/UniServerZ_2014/core/php54/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.1.tar…

installing phar://E:/server/UniServerZ_2014/core/php54/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.5.tar…

installing phar://E:/server/UniServerZ_2014/core/php54/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar…

installing phar://E:/server/UniServerZ_2014/core/php54/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.3.tar…

install ok: channel://pear.php.net/Archive_Tar-1.3.12

install ok: channel://pear.php.net/Console_Getopt-1.3.1

install ok: channel://pear.php.net/Structures_Graph-1.0.4

install ok: channel://pear.php.net/XML_Util-1.2.3

install ok: channel://pear.php.net/PEAR-1.9.5

PEAR: Optional feature webinstaller available (PEAR’s web-based installer)

PEAR: Optional feature gtkinstaller available (PEAR’s PHP-GTK-based installer)

PEAR: Optional feature gtk2installer available (PEAR’s PHP-GTK2-based installer)

PEAR: To install optional features use “pear install pear/PEAR#featurename”


******************************************************************************

WARNING!  The include_path defined in the currently used php.ini does not

contain the PEAR PHP directory you just specified:

<E:\server\UniServerZ_2014\core\php54\pear>

If the specified directory is also not in the include_path used by

your scripts, you will have problems getting any PEAR packages working.


Would you like to alter php.ini <E:\server\UniServerZ_2014\core\php54\php-cli.ini>? [Y/n] :


php.ini <E:\server\UniServerZ_2014\core\php54\php-cli.ini> include_path updated.


Current include path           : .;C:\php\pear

Configured directory           : E:\server\UniServerZ_2014\core\php54\pear

Currently used php.ini (guess) : E:\server\UniServerZ_2014\core\php54\php-cli.ini

Press Enter to continue:


** WARNING! Old version found at E:\server\UniServerZ_2014\core\php54, please remove it or be sure to use the new e:\server\uniserverz_2014\core\php54\pear.bat command


The ‘pear’ command is now at your service at e:\server\uniserverz_2014\core\php54\pear.bat


* WINDOWS ENVIRONMENT VARIABLES *

For convenience, a REG file is available under E:\server\UniServerZ_2014\core\php54PEAR_ENV.reg .

This file creates ENV variables for the current user.


Double-click this file to add it to the current user registry.


E:\server\UniServerZ_2014\core\php54>



Installing PEAR on Windows

2015. február 21., szombat

JQuery Mobile sucks

You have to add “.button(‘refresh’);” to change  view of the button.


<script>

$(document).ready(function()

$(“#data_delete_btn”).attr(‘disabled’,’disabled’);


$(“#delete_button_checkbox”).click(function()

if ($(this).is(‘:checked’))


$(“#data_delete_btn”).removeAttr(“disabled”).button(‘refresh’);


else

$(“#data_delete_btn”).attr(‘disabled’,’disabled’).button(‘refresh’);


);

);

</script>



JQuery Mobile sucks

2015. február 18., szerda

2015. február 17., kedd

Scale and Chord Generator

12bar Blues Guitar http://12bar.de/php/scale_generator.php



Scale and Chord Generator

PHP fejlesztői állás

Egy ismerősömnek szeretnék segíteni ezért raktam ki ezt a posztot:


~ 15 év PHP fejlesztői tapasztalattal állást keresek Budapesten


PHP keretrendszer ismeret: CakePHP, Zend Framework 1, Laravel

Adatbázis: MySQL, Oracle,

Javascript, JQuery

HTML5, CSS, Bootsrap,

CMS ismeret: WordPress, Joomla, Drupal


Elérhetőség: blogbookhu@gmail.com



PHP fejlesztői állás

2015. február 10., kedd

The Rise of the Developer

Developer, programmer, software engineer, coder: All of these terms describe occupations related to the creation of computer programs, mobile apps, websites and more. Some people use the terms interchangeably, while others stick to a strict definition of each. No matter your view on the names, one thing is for certain: It’s a good time to have any of these titles on your resume.


http://www.computersciencezone.org/developers/



The Rise of the Developer

Summertime Boy - Seasick Steve



Summertime Boy - Seasick Steve

2015. február 5., csütörtök

Pertti Kurikan Nimipaivat


Puhevika



Pertti Kurikan Nimipaivat

Flash Banner készítés info

A portálok Adverticum, Gemius típusú kattintás számlálást használnak, ehhez a bannert fel kell készíteni.

Persze van, ahol csak be kell drótozni az URL-t a bennerba.


Flash bannernél Actionscript 3 esetén egy külön layerre ezt a kódot kell rakni:


// Betöltjük az AdverticumHelper.as-t.

import AdverticumHelper;


// Csatoljuk az eseményt az objektumunkhoz.

AdverticumHelper.bindCTEvent( ct, root.loaderInfo.parameters.clickTAG );


A teljes útmutató:
https://support.adverticum.net/index.php?/Sales/Knowledgebase/Article/View/413/0/bannerkeszitesi-utmutato-az-adverticum-adserverhez#action3



Flash Banner készítés info

2015. február 2., hétfő

I dislike JQuery Mobile

Do not invest too much time to develop with JQuery Mobile library.


The design is pretty. But at the end of the project when you have to create element dinamically You will fill hours with searching on Google to find the solution to force Element to work.


I mean:


$(“#currelement”).trigger(“create”);


or using datepicker in a dinamically created element.


 


Bootstrap & JQuery  is the right tool.


 


 


 



I dislike JQuery Mobile

test


test

jQueryMobile - DatePicker

jQueryMobile – DateBox

Display Modes: http://dev.jtsage.com/jQM-DateBox/doc/3-4-display/


 


Datepicker:
http://demos.jquerymobile.com/1.4.1/datepicker/
https://github.com/arschmitz/jquery-mobile-datepicker-wrapper



jQueryMobile - DatePicker

dynamically created element in JQuery Mobile (does not apply styles after dynamically adding content)

I added <li> elements in <ul> with JQuery.


$(‘ul’).append(“<li>…</li>”);


First the <li> elements didn’t appear in<ul>


I found the solution here: http://stackoverflow.com/questions/7999436/jquery-mobile-does-not-apply-styles-after-dynamically-adding-content


I had to add this row:


$(‘ul’).listview(‘refresh’);


 


 



dynamically created element in JQuery Mobile (does not apply styles after dynamically adding content)