The best of the web, in the simplest of frameworks.
See all
Members (110)
Greg Bowler's profile photo
PHP.Gt's profile photo
Maciel Rodrigues de Jesus's profile photo
Adam Wilson's profile photo
Goethe  Johann Wolfgang von (蔡伊修)'s profile photo
Fabien Zet's profile photo
James Rice's profile photo
Knoow.ch's profile photo
Amzad Raza Khan's profile photo
Mehmet Kırkoca's profile photo
Arvind kumar verma's profile photo
Atif Ali's profile photo
Finanscapes's profile photo
Hakan PluginValley's profile photo
Chethan K's profile photo
DANAH ACLAO's profile photo
Maria Hussain's profile photo
Davulcu Vedat (davulcuvedat)'s profile photo
Devang Pipaliya's profile photo
Dhruv Patel's profile photo
Dipali Patel's profile photo
Luke Rodgers's profile photo
James Fellows's profile photo
Eswar Varma's profile photo

Stream

Join this community to post or comment
 
Want to hire #Certified #Magento #Developer?   http://goo.gl/rH3Z15  We have team #Certified #Magento Developers  (Backend and Frontend) for #Magento #Ecommerce Development.
1
Add a comment...
 
#PHP #solution by #Inwizards have brought #smiles in our client's #faces by providing #dynamic, #scalable and #strong #web #applications. We help to create your own script or facilitate the use of an existing script to fulfill your #requirements.

Read More:- http://mysp.ac/USFo


#PHPDevelopment
1
Bright Flair Software's profile photo
Add a comment...

SUTHAR PRAKASH

Discussion  - 
 
The most interesting way to learn PHP... Hats off to this Idea. 
https://apps.facebook.com/remarkin
Now not only learn php. here it is just play      
https://www.remarkin.com
Remarkin is the most interesting way for learning code with a digital friend Alex.
1
Add a comment...
 
We've been working on some improvements to the core of PHP.Gt - the File Organiser, Manifest and Client Side Compiler classes. The branch is https://github.com/BrightFlair/PHP.Gt/tree/141-FileOrganiserManifest.

You will find a speed improvement on all pages, along with many improvements of where and how your public client-side files are stored, minified and compiled.

Check out the branch and let us know what you think!

#PHP  #PHP.Gt
1
Finanscapes's profile photo
 
This will make our dynamic stylesheets (per client) easier to manage.  Will give it a try and let you know how it goes - we've got lots of automated tests (including load tests) so we can give it a good workout!
Add a comment...

PHP.Gt
owner

News  - 
 
The http://PHP.Gt website will be changing soon.

Currently, the URL points to the Github wiki for PHP.Gt, but as you can see in the screenshot below, there are only three issues left until the release of Beta 2 and the new website.

Sneak peak of the new website coming soon...
2
Add a comment...

PHP.Gt
owner

ProTip  - 
 
How does user data get from the browser into the database, and from the database to the browser? When using custom-designed forms, there is usually a lot of repetition to  achieve such a simple task.

First, you have to create the database table's fields. These fields then have to be created in HTML, and then the $_POST data needs injecting into the query to link the HTML and database (and the other way round).

To bypass this repetition in PHP.Gt, use the mapData Dom method. It takes a data row and outputs it to all HTML elements that match the given criteria.

The screenshot below shows all code required in a basic input/output form.

Read more about PHP.Gt's DOM classes here: https://github.com/g105b/PHP.Gt/wiki/dom-classes
3
1
Greg Bowler's profile photo
Add a comment...

PHP.Gt
owner

ProTip  - 
 
PHP.Gt allows requesting a different language of your application or website by putting the language code at the start of the URL. The language code is then saved in the session, and removed from the URL.

http://example.com/YourPage.html
... Switch to German ...
http://example.com/_de/YourPage.html

The default language is stored as the root HTML element's `lang` attribute.

Content in the database can be stored with an associated language, but when parts of your design are required to be language driven, or when a database isn't required for your project, HTML elements with a `data-lang` attribute will only be rendered when in the correct language.
3
1
Greg Bowler's profile photo
Add a comment...

PHP.Gt
owner

ProTip  - 
 
PHP.Gt now officially bundles Gt.js - a JavaScript counterpart to the framework.

While Gt.js doesn't offer any new features to your client-side code, it does give you a helping hand here and there:

- Normalises (shims) all browsers including IE8, meaning you can use W3C code over all browsers, ignoring usual hacks for funky browsers.
- Provides structure to your client side code by using namespacing, allowing you to split your code across multiple files.
- Introduces the go function, that automatically invokes your code when the appropriate page is ready.
- Gives access to PHP.Gt templated elements, that behaves in the same way as within PHP.Gt.
- Provides wrappers to api(), dom(), template() and tool(), to give client-side improvements to the familiar PHP.Gt features.
- Adds prototype functions to NodeList to behave much like DomElCollection within PHP.Gt (see below).

Happy coding! Check out the Github page: http://github.com/g105b/Gt.js
3
Add a comment...

PHP.Gt
owner

ProTip  - 
 
It's really easy to authenticate your users with an OpenId provider such as Google.

In the example below we check if a button has been clicked that POSTs the key 'Auth'.

The auth() function of the User PageTool is all you need to call to start the OpenId authentication process, and the checkAuth() function is all you need to verify your user is logged in.
4
1
Sara Iris Garcia's profile photo
Add a comment...

PHP.Gt
owner

ProTip  - 
 
Keeping things traditional, the first Tips & Tricks post is a Hello, World! PHP.Gt application.

A three-line HTML5 document is all that's required to render the application through PHP.Gt. There is no need to set up controllers, bootstrap files or instantiate any classes - a main concept behind PHP.Gt is that HTML is treated as HTML, without any unnecessary baggage.

Happy coding!
2
Add a comment...

Created by

About this community

PHP.Gt is about doing more by writing less code - making great applications & websites without the steep learning curve. This is the official community page. Everyone is invited. Feel free to start a discussion.
 
We've put the major milestones of PHP.Gt's version 2 development into Trello, along with release times. Take a look here: https://trello.com/b/4TG1CP33/core-v2

For feature requests or bug reports, please use the Github issue tracker: https://github.com/BrightFlair/PHP.Gt/issues
Organize anything, together. Trello is a collaboration tool that organizes your projects into boards. In one glance, know what's being worked on, who's working on what, and where something is in a process.
2
Add a comment...

PHP.Gt
owner

News  - 
 
PHP.Gt has been in commercial use for over 2 years now, and the codebase is being re-written from the ground up to take the project to the next level, being released as a solid 'v2'.

We have decided that the version 2 codebase should be backwards breaking. There is no need to hold onto legacy code if it is holding back development and innovation.

Things to expect in v2:

* New application architecture, built for integration into composer (https://packagist.org/packages/brightflair/php.gt), travis-ci (https://travis-ci.org/BrightFlair/PHP.Gt) and coveralls (https://coveralls.io/r/BrightFlair/PHP.Gt)
* Web service architecture - the same code that powers your application can be exposed as web-services.
* Dynamic URLs. Path on disk `user/_ID_User/detail.php` can produce a dynamic URL, for page and api that looks like `user/123/detail`
* HTML, Haml, Markdown and more
* Sass, Less and more
* Database migrations
* Multiple databases
* More flexible object oriented code design, using namespaces and composer autoloading.

Development has been merged into the master branch, while the v1 codebase is in master-old. Check out the development on Github:

_Web application development as it's meant to be. _
https://github.com/BrightFlair/PHP.Gt
2
Add a comment...

PHP.Gt
owner

Showcase  - 
 
We've released the first PHP.Gt Blueprint: Product Blueprint

This blueprint shows how to use the PayPal PageTool to create a fully-functional transaction on PayPal's sandbox servers or using real money.

Take a look at the live demo here: http://product.blueprint.php.gt
And grab the source here: http://github.com/BrightFlair/product-blueprint
PHP.Gt Blueprint for selling a product
2
Add a comment...

Quang Hai Kieu

Tutorials  - 
 
Smarty is a templating engine for PHP, Designers who are used to working with HTML files can work with Smarty templates, which are HTML files with simple tags while programmers work with the underlying PHP code, The Smarty engine brings the code and templates together, ...
1
Greg Bowler's profile photo
 
I think you've got the wrong community - PHP.Gt is against using templating frameworks like Smarty.
Add a comment...
 
Hot off the press, PHP.Gt's Responsive esponsive Image PageTool makes it really simple to serve different-sized devices the appropriately-sized images.

Step 1: (Optional*) Create as many different sized images as you want in your favorite image editor.
Step 2: Put all the images in the same directory, with their maximum widths added to the end of their file names (as in the screenshot).
Step 3: Call the ResponsiveImg PageTool.

Depending on the width of the client screen, the largest image will be served that will fit onto the screen without compression. If the device is an old phone with 320px screen, and the smallest image you have is 400px, the phone will receive the 400px image.

On the desktop, smaller browser windows will behave in the same way, but if the browser changes in size (when the user maximises for example), a larger image will be requested if available.

This feature has just been implemented here: https://github.com/g105b/PHP.Gt/blob/102-ResponsiveImageServing-Feature/PageTool/ResponsiveImg/ResponsiveImg.tool.php
It will be making its way to the live branch soon, ready for the second beta release.

* A feature of the PageTool is to automatically scale down images on the server if you don't want to do it yourself in photo editing software.

#ResponsiveWebDesign   #ResponsiveImages   #Responsive  
1
1
Greg Bowler's profile photo
Add a comment...
 
The latest development to PHP.Gt is the Auth class that gives your application the ability to use any of these providers (and more) when logging in.

Watch this space for a social hub demo app!

#PHP   #Authentication  
3
Add a comment...
 
Built entirely within the PHP.Gt framework, www.finanscapes.com turns the complex and opaque problem of "running the numbers" on a new business idea into a straightforward exercise. 

We used much of PHP.Gt's functionality to deliver the application with the minimum of boilerplate code.  Html code is separated-out from javascript code, css code an database code - and each layer is totally maintainable thanks to the way the framework supports best practises. 

Tier separation and best practises were only part of the picture though - extra value came from the "acceleration" PHP.Gt gave us - a consistent, powerful web app delivery framework with JavaScript shims and PHP DOM manipulation handled transparently, without the need for any setup code. 

Of course all this left us to spend our time on great User Interface design based on Mondrian and De Stijl artwork and a mountain of financial expertise to turn simple data entry into Cashflow, Profit and Loss and Depreciation insight.  Lovely!  Come and give finanscapes a try for free.
3
Add a comment...

PHP.Gt
owner

ProTip  - 
 
The DOM manipulation within PHP.Gt just got better.

You can now use W3C standards within PHP to manipulate the DOM. Checkout the screenshot below, or read through the DomEl source on GitHub to see how it's implemented: 

https://github.com/g105b/PHP.Gt/blob/master/Framework/Component/DalEl.php
4
Add a comment...

PHP.Gt
owner

ProTip  - 
 
PHP.Gt supports Sass CSS, which means you can start using the amazing tool right away.

Look at the code below - the scss file is referenced in a link element, just as normal stylesheets would be. That means you don't need to pre-process anything, and your styles will just work.

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more.

Learn more about Sass CSS here: http://sass-lang.com/
3
Add a comment...

PHP.Gt
owner

ProTip  - 
 
Build your dynamic PHP.Gt pages by manipulating the DOM, just as you would on the client-side.

In this example, you can see that the DOM can be interfaced using CSS selectors, and W3C compliant methods can be used to build your dynamic pages.

+1 this post if you know +PHP Developers that still echo strings of HTML inside their loops (and share if you still do this!).
3
Add a comment...