Tuesday, 9 July 2013

[dcphp-dev] How can i get value of current text area?

i have two files
1)index.php
and
2)code.js

now code in index.php is below

    <html>
    <head>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
    <link href="http://web.guru99.com/lib/codemirror.css" rel="stylesheet" />
    <script type="text/javascript" src="code.js"></script>
    <style type="text/css">
        .CodeMirror {
        border: 1px solid #eee;
        height: auto;
    }
    .CodeMirror-scroll {
        height: auto;
        overflow-y: hidden;
        overflow-x: auto;
    }
    </style>
    </head>
    <body>
    Integer : whole numbers e.g. -3, 0, 69. The maximum value of an integer is platform-dependent. On a 32 bit machine, its usually around 2 billion. 64 bit machines usually have larger values. The constant PHP_INT_MAX is used to determine the maximum value.
    <pre class="codeguru">say 'hi';</pre>
    Let us now look at how PHP determines the data type depending on the attributes of the supplied data.
    <pre class="codeguru">say 'hello';</pre>
    Floating point numbers
    <pre class="codeguru">say 'you r amazing';</pre>
    Character strings
    <pre class="codeguru">say 'i am fine';</pre>
    </div>
    <form class="hidden code-box" method="GET" name="sample">
    <div dir="ltr"><textarea class="php" name="codeguru"></textarea></div>
    <input type="submit" value="Run" onclick="execute();"/>
    </br></br>
    Output:</br></br>
        <textarea id="print-result" disabled="true" cols="77"></textarea></br>
    </form></div>
    </body>
    </html>

and code.js file contain code is given below

    $(document).ready(function() 
    {
    $('pre.codeguru').each(function() 
    {
            var pre = this;
           var form = $('form[name=sample]').clone();
            $(form).removeAttr('name');
           $(form).removeClass('hidden');
            $($(form).find('textarea')[0]).val($(pre).text());
           var id = $(pre).attr('id');
            $(form).find('div textarea[name=code]').first().attr('id', id);
    $(pre).replaceWith(form);
            });
            window.editors = [];
            $('textarea[name=codeguru]').each(function() 
            {
            window.editor = CodeMirror.fromTextArea(this, 
            {
            lineNumbers: true,
            matchBrackets: true,
            mode: "application/x-httpd-perl",
            tabMode: "shift"
                });
                editors.push(editor);
            });
   
    });
    function execute() {
                p5pkg.CORE.print = function(List__) {
                    var i;
                    for (i = 0; i < List__.length; i++) {
         document.getElementById('print-result').value += p5str(List__[i])
                    }
                    return true;
                };
                p5pkg["main"]["v_^O"] = "browser";
                p5pkg["main"]["Hash_INC"]["Perlito5/strict.pm"] = "Perlito5/strict.pm";
                p5pkg["main"]["Hash_INC"]["Perlito5/warnings.pm"] = "Perlito5/warnings.pm";
    var source = editor.getValue();
    alert(source);
                var pos = 0;
                var ast;
                var match;
       document.getElementById('print-result').value = "";
                try {
                    var start = new Date().getTime();
                    var js_source = p5pkg["Perlito5"].compile_p5_to_js([source]);
                    var end = new Date().getTime();
                    var time = end - start;
                    // run
                    start = new Date().getTime();
        eval(js_source);
                    end = new Date().getTime();
                    time = end - start;
                }
                catch(err) {
                    //document.getElementById('log-result').value += "Error:\n";
                      }
    }

everything is run fine in my code. in code.js pre tags are replaced by textarea and the code in textarea should be run because this project is of online perl editor. so now my problem is i have alert the value of text area by this code 

    var source = editor.getValue();
    alert(source);

but that gives the blank pop up. so what i have to do for retrieve current value of textarea?

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[dcphp-dev] How can i get value of current text area?"

Monday, 8 July 2013

[dcphp-dev] Joomla Customization

A friend recently asked if I could help them out with a Joomla website project. I'm no CMS expert and I'm primarily into building apps that involve Rails and new products.  Because I had a couple of people available and the friend had some money budgeted for someone to help them on the project I decided to help.  So over the weekend I picked up a couple of books and read up on the state of Joomla. Before this, I worked with WordPress somewhat extensively and spent some time kicking the tires on PHP Nuke, Drupal, and Joomla on a kick it to see how it works basis.

Day one involved standing up the Joomla site on EC2 with Git and figuring out what is going to be involved.   i which is for a friend of the family. I spent the weekend reading a couple of Joomla books that I could pick up at the library or Barnes & Noble and got fairly versed in Joomla essentials.  I found XCloner and am looking at how to bring the site from the 1.x level to 2.5 or 3.1 tomorrow.  It looks like the template is going to break on the first step.  This is the easy part.

After I get done with this I'm going to try to implement multiple user levels, one paid and one free but registered.  The tiers will be used to allow paid users to register for an event or webinar for free vs. for a fee.  I am looking for the best option to do this and it looks like MageBridge, the Magento extension for Joomla could help with this.  What I am wondering is if there is anyone in the DC PHP community who has had some experience with setting up a system like this before or who has some experience with MageBridge and Magento + CMS integration (with Joomla a plus, but not required).  I'm still at the study it phase so input or suggestions would be nice.

You can drop me a note via contact@socialmatchbox.com - thanks!

Bob
 

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[dcphp-dev] Joomla Customization"

[dcphp-dev] [Job] OOP PHP Developer -- Alexandria, VA -- 3+ years experience

I already know you are intelligent because you are reading this post.

I am seeking a strong PHP5 developer with true OOP development experience. The company is a neat, established small product-development company in Alexandria, VA, offering a talented team, new development, and stable work environment.

Further, the company pays 100% of health benefits, 401k+retirement fund, and offers profit-sharing and a very flexible work environment.

This is a perfect job for someone that desires to be an integral piece of a small company. You will take part in defining the future of the product and will have the opportunity to lead and mentor Jr. developers, as well as interact with clients.

Required knowledge:
  • PHP 5 
  • LAMP
  • Open-source technology
  • 3+ years of professional experience
If interested, please send me an email at:

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[dcphp-dev] [Job] OOP PHP Developer -- Alexandria, VA -- 3+ years experience"

[dcphp-dev] [job] PHP_Web developer – Direct Hire – Washington, DC

PHP_Web developer – Direct Hire – Washington, DC

Our DC based client seeks a creative Web Developer to join the team on a full-time, direct-hire basis.  The ideal candidate will be up to date on the latest technologies, and like to put them to work in a project-oriented environment.   

 

Qualifications

  • 3+ years of PHP development experience.
  • Experience with Drupal and WordPress
  • Expert understanding of CSS3, HTML5 and Javascript.
  • Solid understanding of the Linux, Apache, MySQL and PHP (LAMP) stack and other web technologies is a must.
  • Have a working knowledge of Photoshop and Illustrator
Bachelor's degree in Computer Science or equivalent field desirable

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[dcphp-dev] [job] PHP_Web developer – Direct Hire – Washington, DC"

[Mission of Love] Fwd: Financial Accounting & Bookkeeping for Nonprofits - Fri July 26 at 9:00am

FYI

---------- Forwarded message ----------
From: Sandra Pruitt <sandy@npdatabase.com>
Date: Fri, Jul 5, 2013 at 11:35 AM
Subject: Financial Accounting & Bookkeeping for Nonprofits - Fri July 26 at 9:00am
To:


Hello All,

Tired of letting opportunities pass you by because you are not prepared!

Register now for a great workshop where you will learn how to:

(1) Structure your accounting system so that it fits the needs of your organization. 

(2) Use proper accounting methods and record-keeping requirements needed to keep your books in order. 

(3) Be prepared for audited financial statements (funders are asking for this)

(4) Prepare a sample budget for your organization

(5) Understand the 990 Form

Register now for this exciting class!  The instructor is Jo-Ann Barnes Williams, CPA of JFW Accounting Services.

Friday, July 26, 2013 from 9:00am - 11:30am

Location: M.O.V.E. Training Center, 1450 Mercantile Lane, Suite 157, Largo, MD

$15 for PFCC Members and $35 for Non-members - PAY ONLINE NOW!

The 
 501(c)(3) Membership Organization formed in 2011 representing over  240 nonprofit and minority business organizations.

The mission is to develop the nonprofit and minority business sector by providing assessment, support and expansion services.

For information on membership, 

Thanks again, and we look forward to seeing you.

Sandy Pruitt
Founder/Executive Director
"Helping Nonprofits and Minority Businesses Grow"














--

MOLC is a nonprofit health and human services organization dedicated to meeting the immediate basic human needs of underprivileged and impoverished citizens throughout the Washington region. MOLC provides programs and services designed for short-term stability and equips individuals with skills necessary for long-term stability and growth.

Mission of Love Charities, Inc.
6180 Old Central Avenue, Capitol Heights, MD 20743 • 301-333-4440

www.molcinc.org
#8002 #79375
 

--
You received this message because you are subscribed to the Google Groups "Mission of Love Charities" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mission-of-love-charities+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[Mission of Love] Fwd: Financial Accounting & Bookkeeping for Nonprofits - Fri July 26 at 9:00am"

Sunday, 7 July 2013

NIFTY FUTURE,STOCK FUTURE WEEKLY CALLS TIPS,SHORT TERM INVESTMENT CALLS.COMMODITIY BULLION MCX TIPS WEEKLY CALLS TIPS & OPERATOR BASED CALLS

1) FOR NIFTY FUTURE,STOCK FUTURE WEEKLY CALLS TIPS INFORMATION CLICK HERE : 


2) FOR WEEKLY & SHORT TERM INVESTMENT CALLS TIPS INFORMATION CLICK HERE : 


3) FOR COMMODITIY BULLION MCX TIPS WEEKLY CALLS TIPS INFORMATION CLICK HERE : 


4) FOR OPERATORBASED HIGH RISK HIGH RETURN SMALLCAPS PENNY MULTIBAGGER (08-07-13) CLICK HERE : 


Paras K.Ghelani(PG),
Shreeji Investment Hub,
Equity & Commodity Broker,
Financial Consultant & Advisor,
Corporate Financial Advisor,
Jamnagar.Gujarat.
Mobile No.: 090990 10827.

--
You received this message because you are subscribed to the Google Groups "Rotex DC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rotexdc+unsubscribe@googlegroups.com.
To post to this group, send email to rotexdc@googlegroups.com.
Visit this group at http://groups.google.com/group/rotexdc.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "NIFTY FUTURE,STOCK FUTURE WEEKLY CALLS TIPS,SHORT TERM INVESTMENT CALLS.COMMODITIY BULLION MCX TIPS WEEKLY CALLS TIPS & OPERATOR BASED CALLS"

Monday, 1 July 2013

[dcphp-dev] [Job] Anyone interested in Training Career

We are looking for developers to start our bootcamp kind of classes in PHP in couple of months, We are looking for experience developers that can teach well
Money wise , it will almost 1.5 times the market rate ..
Contact me at sashraj2008@yahoo.com for details .

--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Read More :- "[dcphp-dev] [Job] Anyone interested in Training Career"