Skip to main content

Home/ PHP Programming/ Group items matching "programming" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
Sarah HL

It's common sense, stupid: The Software Developer's Dream. - 0 views

  • could no less turn down the chance to work for myself on something I truly love, no matter how safe the alternative might be. When I’m old and dying, I plan to look back on my life and say “wow, that was an adventure,” not “wow, I sure felt safe.”
Sarah HL

Building semantic Web CRUD operations using PHP - 0 views

  • When developing a Web application, it's standard practice to create a database structure on which server-side code is placed for the logic and UI layers. To connect to the database, the server-side code needs to do some basic creating, updating, deleting, and — most importantly — reading of records.
    • Sarah HL
       
      Interet du CRUD
  • SPARQL — Simple Protocol and RDF Query Language
    • Sarah HL
       
      PHP works with SPARQK to implement CRUD
  • Why move from SQL to SPARQL? There are many reasons why you would want to move from SQL to SPARQL. The details extend beyond the scope of this article, but you could be motivated by the following points: You want a more distributed data solution. You want to expose your data on the Web for people to use and link to. You may find Node-Arc-Node relationships (triple) easier to understand than relational database models. You may want to understand your data in a pure object-oriented fashion to work with an OOP paradigm (PHP V5 and later supports OOP). You want to build generic agents that can connect to data sources on the Web.
    • Sarah HL
       
      Interest of SPARQL
  •  
    "When developing a Web application, it's standard practice to create a database structure on which server-side code is placed for the logic and UI layers. To connect to the database, the server-side code needs to do some basic creating, updating, deleting
Adildi ldinlio

Building Resilient IP Networks - Cisco Press | Free Ebooks Download - 0 views

  •  
    Building Resilient IP Networks free download at the best library for free networking ebooks download.
Adildi ldinlio

Create Your Own Home Networks - Sams | Free Ebooks Download - 0 views

  •  
    Create Your Own Home Networks free download at the best library for free networking ebooks download.
Adildi ldinlio

Adobe Creative Suite 3 Web Premium All-in-One Desk Reference For Dummies|free ebooks download - 0 views

  •  
    Adobe Creative Suite 3 Web Premium All-in-One Desk Reference For Dummies free download at the best library for free multimedia ebooks download.
Sarah HL

PHP Worst Practices at blog.phpdeveloper.org - 0 views

  • Beware the Outsiders
  • Sure, you could cobble together your own library to add that feature and yes, it might integrate excellently with your code, but what does that gain you? One of the points of Open Source development is to share your knowledge with the rest of the community.
  • Unplanification
  • ...8 more annotations...
  • This would be the combined voices of everyone in your past that tried to teach you the mantra: “Plan First, Code Later”.
  • The Documentation Wasteland
  • If you’re writing your code without any sort of documentation, you’re dooming you and possibly future maintainers of the code into many a pointless search to try to figure out why method a() returns two completely different value types depending on which parameters it’s given.
  • ets you know the “why” instead of just the “how” the code gives you
  • You’d be surprised how often you’ll find yourself referring to it once it’s reliable.
  • Free Your Mind
  • You, as a developer, know that there’s always more than one way to solve a problem.
  • Just like ‘anti patterns’, who are an important read as well, ‘worst practices’ help developers avoid mistakes.
Sarah HL

Learning JavaScript from PHP - a Comparison | Lullabot - 0 views

  • In PHP, all variables are local in scope unless declared as global. JavaScript is opposite, and all variables are global unless declared with the var keyword.
  • Both PHP and JavaScript are loosely typed
  • JavaScript is a bit mixed concerning undeclared variables, if you attempt to modify or compare with an undeclared variable, the script will break entirely, but you can check the variable status using typeof() or in conditional statements containing only that variable.
  • ...6 more annotations...
  • JavaScript only recognizes the keyword true in all lowercase. PHP accepts both uppercase and lowercase
  • PHP is not case-sensitive in function or class declarations, but JavaScript is case sensitive for these also.
  • The key difference between PHP and JavaScript is that JavaScript does not have associative arrays.
  • JSON strings having become very popular as a faster alternative to XML, and can be read and created with the PHP functions json_encode() and json_decode().
  • Let's take one more look at defining an object in JavaScript and see how it can be used to compensate for the lack of associative arrays in JavaScript.
  • // Note that variables should always be// prefixed with "var" to define a local scope.for (var n = 0; n < 10; n++) {  alert(n);}
jdr santos

PHPXref - The PHP Cross Referencing Documentation Utility - 0 views

  •  
    PHP Cross Referencing Documentation Generator
Sarah HL

Dr. Dobb's | Extreme Testing | juin 1, 2003 - 0 views

shared by Sarah HL on 29 Jun 09 - Cached
  • First, you quickly add a test
  • TDD employs five basic steps
  • The second step involves running your tests
  • ...15 more annotations...
  • Third, you make a little change to your functional code
  • Next, you run the tests
  • In the optional fifth step, you refactor your code to remove any duplication.
  • two simple rules. First, you should write new business code only when an automated test has failed. Second, you should eliminate any duplication that you find.
  • Your designs must consist of highly cohesive
  • You write your own tests because you can’t wait
  • the running code providing feedback between decisions
  • Test-Driven Development (Addison-Wesley 2003)
  • a Smalltalk system with a completely test-driven approach that took four years and 40 person-years of effort
  • there’s far more to testing than unit tests, so you’ll still need other testing techniques such as functional testing, user acceptance testing, system integration testing and so on.
  • you have a clear measure of success
  • most programmers don’t read the written documentation for a system; instead, they prefer to dig right into the code.
    • Sarah HL
       
      Follow the "natural" tendance of the developers, a pro TDD
  • Your acceptance tests define exactly what your stakeholders expect of your system; therefore, they truly do determine a good portion of your requirements.
  • Bob Martin says it best: “The act of writing a unit test is more an act of design than of verification. It’s also more an act of documentation than of verification.
  • Side by Side: Comparing TDD and AMDD TDD shortens the programming feedback loop; AMDD abridges the modeling feedback loop. TDD provides detailed specification (tests), while AMDD provides traditional specifications (agile documents). TDD promotes the development of high-quality code; AMDD encourages high-quality communication between your stakeholders and other developers. TDD provides concrete evidence that your software works, whereas AMDD supports your entire team, including stakeholders, in working toward a common understanding. TDD provides finely grained, concrete feedback in minutes. However, concrete feedback requires developers to follow the practice Prove It With Code, and they may become dependent on non-AM techniques; AMDD lets you get verbal feedback in minutes. TDD ensures that your design is clean by focusing on creation of callable and testable operations; AMDD lets you think through larger design and architectural issues before you code. TDD isn’t visually oriented; AMDD is. Both techniques are new and therefore may be threatening to traditional developers. Both techniques support evolutionary development. —S. W. Ambler
Sarah HL

Brendel Consulting - 0 views

  • "I don't want to write comments, because then I will have to scroll more to see the code.""Writing comments in the code takes time."Formatting the code nicely takes time, especially when I need to change a few things, in which case I then have to re-format the code."Code changes, and before you know it the comments are obsolete."
  • Meaningful variable and function names
  • Thoughtful source code documentation.
  • ...1 more annotation...
  • A legible and consistent coding style.
« First ‹ Previous 61 - 80 of 120 Next › Last »
Showing 20 items per page